File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,6 @@ import {
66 withTrace ,
77} from '@openai/agents' ;
88import * as path from 'node:path' ;
9- import { createOpenAI } from '@ai-sdk/openai' ;
10- import { aisdk } from '@openai/agents-extensions' ;
11-
12- const openai = createOpenAI ( {
13- baseURL : 'https://api.moonshot.cn/v1' ,
14- apiKey : process . env . MOONSHOT_API_KEY ,
15- } ) ;
16-
17- const model = aisdk ( openai ( 'kimi-k2-turbo-preview' ) ) ;
189
1910async function main ( ) {
2011 const samplesDir = path . join ( __dirname , 'sample_files' ) ;
@@ -74,7 +65,6 @@ async function main() {
7465 instructions :
7566 'Use the available tools to help the user with file operations.' ,
7667 tools : allTools , // Use pre-fetched tools instead of mcpServers
77- model,
7868 } ) ;
7969
8070 // Test the agent
You can’t perform that action at this time.
0 commit comments