forked from phoenix/litellm-mirror
feat - support /create assistants endpoint
This commit is contained in:
parent
6479442d5b
commit
12f207b499
2 changed files with 3 additions and 3 deletions
|
@ -3975,10 +3975,10 @@ async def create_assistant(
|
|||
API Reference docs - https://platform.openai.com/docs/api-reference/assistants/createAssistant
|
||||
"""
|
||||
global proxy_logging_obj
|
||||
data: Dict = {}
|
||||
try:
|
||||
# Use orjson to parse JSON data, orjson speeds up requests significantly
|
||||
body = await request.body()
|
||||
data = orjson.loads(body)
|
||||
|
||||
# Include original request and headers in the data
|
||||
data = await add_litellm_data_to_request(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue