mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-16 23:52:40 -06:00
10f5a7ac58
* fix(groq): recover oversized requests safely * fix(groq): clear parallel tool aliases on fallback * fix(groq): require provenance-aware host * fix(groq): preserve configured request budgets --------- authored-by: @MonkeyLeeT Co-authored-by: Colin <colin@solvely.net>
18 lines
681 B
TypeScript
18 lines
681 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;
|
|
/** Host-resolved provenance for the top-level wire output cap. */
|
|
maxTokensSource?: "configured" | "discovered";
|
|
params?: Record<string, unknown>;
|
|
requestTimeoutMs?: number;
|
|
mediaInput?: ModelMediaInputConfig;
|
|
};
|