mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-29 18:33:37 +00:00
16 lines
563 B
TypeScript
16 lines
563 B
TypeScript
// Defines runtime model metadata supplied by provider plugins.
|
|
import type { Model } from "openclaw/plugin-sdk/llm";
|
|
import type { ModelCompatConfig, ModelMediaInputConfig } from "../config/types.models.js";
|
|
|
|
/**
|
|
* Fully-resolved runtime model shape used after provider/plugin-owned
|
|
* discovery, overrides, and compat normalization.
|
|
*/
|
|
export type ProviderRuntimeModel = Omit<Model, "compat"> & {
|
|
compat?: ModelCompatConfig;
|
|
contextTokens?: number;
|
|
params?: Record<string, unknown>;
|
|
requestTimeoutMs?: number;
|
|
mediaInput?: ModelMediaInputConfig;
|
|
};
|