Skip to content

Commit f57c538

Browse files
committed
Increase Claude max tokens and remove gpt-5.1-codex-mini model
Increase Claude max output tokens from 4,096 to 16,384. Remove gpt-5.1-codex-mini model and the DOCS_RESEARCH_MODEL_NAME setting that depended on it. Add glm-5-turbo to integration test model list.
1 parent b7552da commit f57c538

File tree

5 files changed

+5
-15
lines changed

5 files changed

+5
-15
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2121
### Changed
2222

2323
- Changed `setup_webhooks` command to only create new webhooks by default, skipping existing ones.
24+
- Increased Claude max output tokens from 4,096 to 16,384.
2425

2526
## [2.0.0] - 2026-03-14
2627

daiv/automation/agent/base.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from langgraph.store.base import BaseStore
2020

2121

22-
CLAUDE_MAX_TOKENS = 4_096
22+
CLAUDE_MAX_TOKENS = 16_384
2323

2424
CLAUDE_THINKING_MODELS = (
2525
"claude-sonnet-4-5",
@@ -34,14 +34,7 @@
3434
"anthropic/claude-haiku-4.5",
3535
)
3636

37-
OPENAI_THINKING_MODELS = (
38-
"gpt-5.1-codex-mini",
39-
"gpt-5.2",
40-
"gpt-5.3-codex",
41-
"openai/gpt-5.1-codex-mini",
42-
"openai/gpt-5.2",
43-
"openai/gpt-5.3-codex",
44-
)
37+
OPENAI_THINKING_MODELS = ("gpt-5.2", "gpt-5.3-codex", "openai/gpt-5.2", "openai/gpt-5.3-codex")
4538

4639

4740
class ModelProvider(StrEnum):

daiv/automation/agent/conf.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ class DAIVAgentSettings(BaseSettings):
4141
default=ModelName.CLAUDE_HAIKU_4_5,
4242
description="Model for the explore subagent, a fast model with capabilities to call tools.",
4343
)
44-
DOCS_RESEARCH_MODEL_NAME: ModelName | str = Field(
45-
default=ModelName.GPT_5_1_CODEX_MINI,
46-
description="Model for the docs research subagent, a fast model with capabilities to call tools.",
47-
)
4844

4945

5046
settings = DAIVAgentSettings()

daiv/automation/agent/constants.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ class ModelName(StrEnum):
3737
# OpenAI models
3838
GPT_4_1_MINI = "openrouter:openai/gpt-4.1-mini"
3939
GPT_4_1 = "openrouter:openai/gpt-4.1"
40-
GPT_5_1_CODEX_MINI = "openrouter:openai/gpt-5.1-codex-mini"
4140
GPT_5_2 = "openrouter:openai/gpt-5.2"
4241
GPT_5_3_CODEX = "openrouter:openai/gpt-5.3-codex"
4342

tests/integration_tests/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,12 @@
4141
ModelName.GPT_5_2,
4242
ModelName.GPT_5_3_CODEX,
4343
ModelName.Z_AI_GLM_5,
44+
ModelName.Z_AI_GLM_5_TURBO,
4445
ModelName.MINIMAX_M2_5,
4546
ModelName.MOONSHOTAI_KIMI_K2_5,
4647
]
4748

48-
FAST_MODEL_NAMES = [ModelName.CLAUDE_HAIKU_4_5, ModelName.GPT_5_1_CODEX_MINI, ModelName.GPT_4_1]
49+
FAST_MODEL_NAMES = [ModelName.CLAUDE_HAIKU_4_5, ModelName.GPT_4_1]
4950

5051

5152
def extract_tool_calls(messages: list[BaseMessage]) -> list[ToolCall]:

0 commit comments

Comments
 (0)