(Admin UI) - Test Key Tab - Allow typing in model name + Add wrapping for text response (#7347)

* ui fix - allow searching model list + fix bug on filtering

* qa fix - use correct provider name for azure_text

* ui wrap content onto next line
This commit is contained in:
Ishaan Jaff 2024-12-21 13:14:01 -08:00 committed by GitHub
parent 8fa08dfef8
commit 2d2c30b72b
4 changed files with 34 additions and 37 deletions

View file

@ -1267,7 +1267,7 @@
"max_input_tokens": 4097,
"input_cost_per_token": 0.0000015,
"output_cost_per_token": 0.000002,
"litellm_provider": "text-completion-openai",
"litellm_provider": "azure_text",
"mode": "completion"
},
"azure/gpt-35-turbo-instruct": {
@ -1275,7 +1275,7 @@
"max_input_tokens": 4097,
"input_cost_per_token": 0.0000015,
"output_cost_per_token": 0.000002,
"litellm_provider": "text-completion-openai",
"litellm_provider": "azure_text",
"mode": "completion"
},
"azure/gpt-35-turbo-instruct-0914": {
@ -1283,7 +1283,7 @@
"max_input_tokens": 4097,
"input_cost_per_token": 0.0000015,
"output_cost_per_token": 0.000002,
"litellm_provider": "text-completion-openai",
"litellm_provider": "azure_text",
"mode": "completion"
},
"azure/mistral-large-latest": {

View file

@ -1,7 +1,7 @@
model_list:
- model_name: openai/o1-preview
- model_name: openai/*
litellm_params:
model: openai/o1-preview
model: openai/*
api_key: os.environ/OPENAI_API_KEY