mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2025-09-10 23:34:35 +00:00
Update chat.py
This commit is contained in:
parent
88f688e2c8
commit
6bc2e85343
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue