@@ -924,7 +924,7 @@ func run(args []string) error {
924924
925925 // Sandbox setup
926926 var sandboxCleanup func () error
927- tools := builtinTools (resolved .Dangerous , sm , nil , resolved .MaxConcurrency , resolved .Transcription , nil )
927+ tools := builtinTools (resolved .Dangerous , sm , nil , resolved .MaxConcurrency , resolved .APIKey , resolved . Transcription , nil )
928928
929929 // MCP server tools
930930 var mcpCleanup func ()
@@ -1311,7 +1311,7 @@ func injectFilesToSandbox(containerName string, files []string, cwd string) (int
13111311 return injected , nil
13121312}
13131313
1314- func builtinTools (dc danger.DangerousConfig , sm * skills.SkillManager , approver danger.Approver , maxConcurrency int , tc config.TranscriptionConfig , store * session.Store ) []odek.Tool {
1314+ func builtinTools (dc danger.DangerousConfig , sm * skills.SkillManager , approver danger.Approver , maxConcurrency int , apiKey string , tc config.TranscriptionConfig , store * session.Store ) []odek.Tool {
13151315 tools := []odek.Tool {
13161316 & shellTool {
13171317 dangerousConfig : dc ,
@@ -1320,6 +1320,7 @@ func builtinTools(dc danger.DangerousConfig, sm *skills.SkillManager, approver d
13201320 & delegateTasksTool {
13211321 maxConcurrency : maxConcurrency ,
13221322 odekPath : os .Args [0 ],
1323+ apiKey : apiKey ,
13231324 timeout : 120 * time .Second ,
13241325 },
13251326 & readFileTool {dangerousConfig : dc },
@@ -1890,7 +1891,7 @@ func continueCmd(args []string) error {
18901891 "./.odek/skills" ,
18911892 )
18921893 }
1893- tools := builtinTools (resolved .Dangerous , sm , nil , resolved .MaxConcurrency , resolved .Transcription , store )
1894+ tools := builtinTools (resolved .Dangerous , sm , nil , resolved .MaxConcurrency , resolved .APIKey , resolved . Transcription , store )
18941895 var sandboxCleanup func () error
18951896
18961897 // MCP server tools
0 commit comments