mirror of
https://github.com/openai/codex.git
synced 2026-10-26 18:38:47 +00:00
feat: add flex mode option for cost savings (#372)
Adding in an option to turn on flex processing mode to reduce costs when running the agent. Bumped the openai typescript version to add the new feature. --------- Co-authored-by: Thibault Sottiaux <tibo@openai.com>
This commit is contained in:
co-authored by
Thibault Sottiaux
parent
6f2271e8cd
commit
1a8610cd9e
@@ -516,6 +516,7 @@ export class AgentLoop {
|
||||
stream: true,
|
||||
parallel_tool_calls: false,
|
||||
reasoning,
|
||||
...(this.config.flexMode ? { service_tier: "flex" } : {}),
|
||||
tools: [
|
||||
{
|
||||
type: "function",
|
||||
|
||||
Reference in New Issue
Block a user