Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Update src/llm/providers/claude.py

Anish Agrawala7f73576a93b
diff --git a/src/llm/providers/claude.py b/src/llm/providers/claude.py
index cb41ed4ba..ad7bb52bf 100644
--- a/src/llm/providers/claude.py
+++ b/src/llm/providers/claude.py
@@ -57,6 +57,8 @@ class ClaudeProvider(LLMProvider):
}
if input.max_tokens:
params["max_tokens"] = input.max_tokens
+ else:
+ params["max_tokens"] = 8192 # required by Anthropic API
if input.tools:
params["tools"] = [tool.to_dict() for tool in input.tools]