Implement OpenAI's response API and add support for built-in tools (web search & code interpreter).

This commit is contained in:
Layla
2026-01-23 22:05:53 +01:00
committed by Slavi Pantaleev
parent b920b6e556
commit ec93f1ee2a
6 changed files with 93 additions and 98 deletions

View File

@@ -95,6 +95,7 @@ impl TryInto<OpenAITextGenerationConfig> for TextGenerationConfig {
max_response_tokens: self.max_response_tokens,
max_completion_tokens: None,
max_context_tokens: self.max_context_tokens,
tools: Default::default(),
})
}
}