You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Docs rewrite, file cleanup, and provider bug fixes
- Remove stale scripts/litellm-entrypoint.sh (referenced deleted startup.py)
- Remove unused API key placeholders from .env.example, fix CLI command
- Replace ASCII art with Mermaid diagrams in README, fix step numbering
- Fix npm package name (@anthropic-ai/claude-code, not claude-agent-sdk)
- Add parameter handling docs to USAGE-EXAMPLES.md (drop_params behavior)
- Fix SECURITY.md key verification to not leak secret value
- Fix provider: dict-based usage parsing with input_tokens/output_tokens
- Fix provider: asyncio.run() with thread-pool fallback for running loops
- Fix provider: ResultMessage handling in streaming with len//4 fallback
- Fix provider: try/except with APIError around query() calls
- Fix CI: test job builds local image instead of pulling unpushed registry image
Copy file name to clipboardExpand all lines: README.md
+17-16Lines changed: 17 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,13 +5,10 @@
5
5
6
6
Dockerized LiteLLM with custom provider that makes Claude Agent SDK available through the standard OpenAI-compatible API interface. Based on Anthropic's official [Claude Agent SDK](https://docs.anthropic.com/en/docs/claude-agent-sdk) documentation:
Copy file name to clipboardExpand all lines: docs/USAGE-EXAMPLES.md
+32-1Lines changed: 32 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,6 +80,8 @@ curl -X POST http://localhost:4000/v1/chat/completions \
80
80
}'
81
81
```
82
82
83
+
> **Note:** The `temperature` parameter in this example is silently dropped due to `drop_params: true` in `litellm_config.yaml`. See [Parameter Handling](#parameter-handling) below.
- OpenAI-specific parameters (see [Parameter Handling](#parameter-handling) below)
121
+
122
+
## Parameter Handling
123
+
124
+
Because LiteLLM is configured with `drop_params: true` and the Claude Agent SDK manages its own parameters, most OpenAI-specific parameters are silently dropped.
125
+
126
+
### Parameters that work
127
+
128
+
| Parameter | Description |
129
+
|-----------|-------------|
130
+
|`model`| Model selection (`sonnet`, `opus`, `haiku`) |
0 commit comments