added optional request params and context limit from GOOSE_PREDEFINED_MODELS (#6489)

This commit is contained in:
Zane
2026-01-16 10:12:14 -08:00
committed by GitHub
parent 351e99b82d
commit 080a0e04ba
12 changed files with 140 additions and 13 deletions
+10
View File
@@ -542,6 +542,12 @@ export type ModelConfig = {
fast_model?: string | null;
max_tokens?: number | null;
model_name: string;
/**
* Provider-specific request parameters (e.g., anthropic_beta headers)
*/
request_params?: {
[key: string]: unknown;
} | null;
temperature?: number | null;
toolshim: boolean;
toolshim_model?: string | null;
@@ -1168,8 +1174,12 @@ export type UpdateFromSessionRequest = {
};
export type UpdateProviderRequest = {
context_limit?: number | null;
model?: string | null;
provider: string;
request_params?: {
[key: string]: unknown;
} | null;
session_id: string;
};