mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-19 20:14:45 +00:00
14 lines
446 B
TypeScript
14 lines
446 B
TypeScript
import type { Api, Model } from "@earendil-works/pi-ai";
|
|
import type { ModelCompatConfig } 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<Api>, "compat"> & {
|
|
compat?: ModelCompatConfig;
|
|
contextTokens?: number;
|
|
params?: Record<string, unknown>;
|
|
requestTimeoutMs?: number;
|
|
};
|