File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export class UnboundHandler implements ApiHandler {
2020 "Content-Type" : "application/json" ,
2121 } ,
2222 body : JSON . stringify ( {
23- model : this . getModel ( ) . id ,
23+ model : this . getModel ( ) . id . split ( "/" ) [ 1 ] ,
2424 messages : [ { role : "system" , content : systemPrompt } , ...messages ] ,
2525 } ) ,
2626 } )
Original file line number Diff line number Diff line change @@ -599,11 +599,11 @@ export const mistralModels = {
599599
600600// Unbound Security
601601export type UnboundModelId = keyof typeof unboundModels
602- export const unboundDefaultModelId = "gpt-4o"
602+ export const unboundDefaultModelId = "openai/ gpt-4o"
603603export const unboundModels = {
604- "claude-3-5-sonnet-20241022" : anthropicModels [ "claude-3-5-sonnet-20241022" ] ,
605- "gpt-4o" : openAiNativeModels [ "gpt-4o" ] ,
606- "deepseek-chat" : deepSeekModels [ "deepseek-chat" ] ,
607- "deepseek-reasoner" : deepSeekModels [ "deepseek-reasoner" ] ,
608- "codestral-latest" : mistralModels [ "codestral-latest" ] ,
604+ "anthropic/ claude-3-5-sonnet-20241022" : anthropicModels [ "claude-3-5-sonnet-20241022" ] ,
605+ "openai/ gpt-4o" : openAiNativeModels [ "gpt-4o" ] ,
606+ "deepseek/deepseek -chat" : deepSeekModels [ "deepseek-chat" ] ,
607+ "deepseek/deepseek -reasoner" : deepSeekModels [ "deepseek-reasoner" ] ,
608+ "mistral/ codestral-latest" : mistralModels [ "codestral-latest" ] ,
609609} as const satisfies Record < string , ModelInfo >
You can’t perform that action at this time.
0 commit comments