mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
(test) proxy
This commit is contained in:
parent
71eee5087d
commit
485c40b9ae
1 changed files with 5 additions and 0 deletions
|
|
@ -16,6 +16,11 @@ from litellm import embedding, completion, completion_cost, Timeout
|
|||
from litellm import RateLimitError
|
||||
import importlib, inspect
|
||||
|
||||
# init callbacks to be empty
|
||||
litellm.success_callback = []
|
||||
litellm.callbacks = []
|
||||
litellm.failure_callback = []
|
||||
|
||||
# test /chat/completion request to the proxy
|
||||
from fastapi.testclient import TestClient
|
||||
from fastapi import FastAPI
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue