mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
(docs) simple proxy
This commit is contained in:
parent
86ef2a02f7
commit
fbebb28970
1 changed files with 13 additions and 0 deletions
|
|
@ -342,6 +342,19 @@ print(result)
|
|||
</Tabs>
|
||||
|
||||
## Proxy Configs
|
||||
The Config allows you to set a `model_list` and define litellm specific params
|
||||
Supported params in the config
|
||||
```yaml
|
||||
model_list:
|
||||
- model_name: zephyr-alpha
|
||||
litellm_params: # params for litellm.completion() - https://docs.litellm.ai/docs/completion/input#input---request-body
|
||||
model: huggingface/HuggingFaceH4/zephyr-7b-alpha
|
||||
api_base: http://0.0.0.0:8001
|
||||
- model_name: zephyr-beta
|
||||
litellm_params:
|
||||
model: huggingface/HuggingFaceH4/zephyr-7b-beta
|
||||
api_base: https://<my-hosted-endpoint>
|
||||
```
|
||||
|
||||
|
||||
### Set Custom Prompt Templates
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue