mirror of
https://github.com/Alishahryar1/free-claude-code.git
synced 2026-04-26 10:31:07 +00:00
Some checks are pending
CI / checks (push) Waiting to run
Consolidates the incremental refactor work into a single change set: modular web tools (api/web_tools), native Anthropic request building and SSE block policy, OpenAI conversion and error handling, provider transports and rate limiting, messaging handler and tree queue, safe logging, smoke tests, and broad test coverage.
10 lines
443 B
Python
10 lines
443 B
Python
"""Shared defaults used by config models and provider adapters."""
|
|
|
|
# HTTP client connect timeout (seconds). Keep aligned with README.md and .env.example.
|
|
HTTP_CONNECT_TIMEOUT_DEFAULT = 10.0
|
|
|
|
# Anthropic Messages API default when the client omits max_tokens.
|
|
ANTHROPIC_DEFAULT_MAX_OUTPUT_TOKENS = 81920
|
|
|
|
# Max bytes read from a non-200 native messages response when verbose error logging is on.
|
|
NATIVE_MESSAGES_ERROR_BODY_LOG_CAP_BYTES = 4096
|