test(anthropic): add regression tests for thinking modes incl. adaptive

Also update schema comment to mention 'adaptive' as a valid value.

Made-with: Cursor
This commit is contained in:
Xubin Ren
2026-04-07 22:53:43 +08:00
committed by Xubin Ren
parent 1c2f4aba17
commit 1e8a6663ca
2 changed files with 66 additions and 1 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ class AgentDefaults(Base):
max_tool_iterations: int = 200
max_tool_result_chars: int = 16_000
provider_retry_mode: Literal["standard", "persistent"] = "standard"
reasoning_effort: str | None = None # low / medium / high - enables LLM thinking mode
reasoning_effort: str | None = None # low / medium / high / adaptive - enables LLM thinking mode
timezone: str = "UTC" # IANA timezone, e.g. "Asia/Shanghai", "America/New_York"
dream: DreamConfig = Field(default_factory=DreamConfig)