mirror of https://github.com/aliasrobotics/cai.git
Add some additional bits to README.md
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
This commit is contained in:
parent
012f1caf90
commit
cec4dbe54a
17
README.md
17
README.md
|
|
@ -180,7 +180,12 @@ We're committed to continuing to build the Agents SDK as an open source framewor
|
|||
|
||||
## LiteLLM Proxy Server integration
|
||||
|
||||
Testing some basic models:
|
||||
```bash
|
||||
# launch proxy
|
||||
litellm --config config.yaml
|
||||
```
|
||||
|
||||
Testing some basic models against proxy to verify it's operational:
|
||||
```bash
|
||||
# qwen2.5:14b
|
||||
curl -s http://localhost:4000/v1/chat/completions -H "Content-Type: application/json" -d '{"model": "qwen2.5:14b", "messages": [{"role": "user", "content": "Say hi"}], "max_tokens": 10}' | jq
|
||||
|
|
@ -190,4 +195,12 @@ curl -s http://localhost:4000/v1/chat/completions -H "Content-Type: application/
|
|||
|
||||
# gpt-4o
|
||||
curl -s http://localhost:4000/v1/chat/completions -H "Content-Type: application/json" -d '{"model": "gpt-4o", "messages": [{"role": "user", "content": "Say hi"}], "max_tokens": 10}' | jq
|
||||
```
|
||||
```
|
||||
|
||||
Launch the Agents SDK with the proxy server:
|
||||
```bash
|
||||
python3 examples/agent_patterns/litellm.py
|
||||
```
|
||||
|
||||
Additional docs:
|
||||
- LiteLLM admin UI https://docs.litellm.ai/docs/proxy/ui
|
||||
Loading…
Reference in New Issue