File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ const server = createServer(async (request, response) => {
90
90
console . time ( "tool-call" ) ;
91
91
const toolCaller = await capiClient . chat . completions . create ( {
92
92
stream : false ,
93
- model : "gpt-4 " ,
93
+ model : "gpt-4o " ,
94
94
messages : toolCallMessages ,
95
95
tool_choice : "auto" ,
96
96
tools : functions . map ( ( f ) => f . tool ) ,
@@ -107,7 +107,7 @@ const server = createServer(async (request, response) => {
107
107
// No tool to call, so just call the model with the original messages
108
108
const stream = await capiClient . chat . completions . create ( {
109
109
stream : true ,
110
- model : "gpt-4 " ,
110
+ model : "gpt-4o " ,
111
111
// @ts -expect-error - TODO @gr2m - type incompatibility between @openai/api and @copilot-extensions/preview-sdk
112
112
messages : payload . messages ,
113
113
} ) ;
You can’t perform that action at this time.
0 commit comments