added optional request params and context limit from GOOSE_PREDEFINED_MODELS (#6489)
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user