Commit 6bc2e853 authored by Creeper-MZ's avatar Creeper-MZ
Browse files

Update chat.py

parent 88f688e2
...@@ -128,7 +128,7 @@ def get_tool_instructions(): ...@@ -128,7 +128,7 @@ def get_tool_instructions():
{"param1": "value1", "param2": "value2"} {"param1": "value1", "param2": "value2"}
```<|tool▁call▁end|><|tool▁calls▁end|> ```<|tool▁call▁end|><|tool▁calls▁end|>
Only use functions when needed. Ensure proper JSON formatting with appropriate parameters.""" Use functions when needed. Ensure proper JSON formatting with appropriate parameters."""
@router.post('/chat/completions', tags=['openai']) @router.post('/chat/completions', tags=['openai'])
async def chat_completion(request: Request, create: ChatCompletionCreate): async def chat_completion(request: Request, create: ChatCompletionCreate):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment