free-claude-code/api
chinfeng b07892fbec fix: extract client token from request when passthrough is enabled without server auth
When ENABLE_API_KEY_PASSTHROUGH is active but ANTHROPIC_AUTH_TOKEN is not
set, require_api_key must still extract the client token from x-api-key or
Authorization headers so it can be forwarded to the upstream provider.
Previously it returned an empty string, causing "no client auth token was
provided" errors even when the client sent a valid header.
2026-05-18 00:51:01 +08:00
..
admin_static feat(providers): add Z.ai Coding Plan provider (#440) 2026-05-13 12:02:15 -07:00
models fix: accept betas body field from Claude Code clients (#360) 2026-05-05 21:45:15 -07:00
web_tools feat(deepseek): use native Anthropic Messages transport 2026-04-26 12:03:21 -07:00
__init__.py Major refactor: API, providers, messaging, and Anthropic protocol 2026-04-26 03:01:14 -07:00
admin_config.py Add NVIDIA_NIM_BASE_URL, OLLAMA_API_KEY, LLAMACPP_API_KEY, and OpenAI provider support 2026-05-17 16:03:54 +08:00
admin_routes.py Improve admin UI setup flow 2026-05-10 15:57:56 -07:00
admin_urls.py log urls at startup 2026-05-10 01:45:04 -07:00
app.py Use canonical FCC server log path 2026-05-16 11:51:45 -07:00
command_utils.py fix: only strip valid env assignments in command parsing (#229) 2026-04-27 18:34:48 -07:00
dependencies.py fix: extract client token from request when passthrough is enabled without server auth 2026-05-18 00:51:01 +08:00
detection.py Major refactor: API, providers, messaging, and Anthropic protocol 2026-04-26 03:01:14 -07:00
gateway_model_ids.py Add no-thinking model picker variants 2026-04-30 21:27:23 -07:00
model_router.py Add no-thinking model picker variants 2026-04-30 21:27:23 -07:00
optimization_handlers.py refactor: remove OpenRouter rollback, shims, and redundant layers 2026-04-24 21:08:38 -07:00
routes.py Add API key pass-through feature (ENABLE_API_KEY_PASSTHROUGH) 2026-05-17 20:54:16 +08:00
runtime.py Pass proxy auth token to Telegram CLI sessions 2026-05-16 15:07:45 -07:00
services.py Add NVIDIA_NIM_BASE_URL, OLLAMA_API_KEY, LLAMACPP_API_KEY, and OpenAI provider support 2026-05-17 16:03:54 +08:00
validation_log.py Major refactor: API, providers, messaging, and Anthropic protocol 2026-04-26 03:01:14 -07:00
web_server_tools.py Major refactor: API, providers, messaging, and Anthropic protocol 2026-04-26 03:01:14 -07:00