mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-06 18:23:07 +00:00
docs(input.md): add docs on 'get_supported_openai_params'
This commit is contained in:
@@ -24,6 +24,17 @@ print(response)
|
||||
```
|
||||
|
||||
### Translated OpenAI params
|
||||
|
||||
Use this function to get an up-to-date list of supported openai params for any model + provider.
|
||||
|
||||
```python
|
||||
from litellm import get_supported_openai_params
|
||||
|
||||
response = get_supported_openai_params(model="anthropic.claude-3", custom_llm_provider="bedrock")
|
||||
|
||||
print(response) # ["max_tokens", "tools", "tool_choice", "stream"]
|
||||
```
|
||||
|
||||
This is a list of openai params we translate across providers.
|
||||
|
||||
This list is constantly being updated.
|
||||
|
||||
Reference in New Issue
Block a user