Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ox696c
ktransformers
Commits
6bc2e853
Commit
6bc2e853
authored
Apr 16, 2025
by
Creeper-MZ
Browse files
Update chat.py
parent
88f688e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ktransformers/server/api/openai/endpoints/chat.py
ktransformers/server/api/openai/endpoints/chat.py
+1
-1
No files found.
ktransformers/server/api/openai/endpoints/chat.py
View file @
6bc2e853
...
...
@@ -128,7 +128,7 @@ def get_tool_instructions():
{"param1": "value1", "param2": "value2"}
```<|tool▁call▁end|><|tool▁calls▁end|>
Only u
se functions when needed. Ensure proper JSON formatting with appropriate parameters."""
U
se functions when needed. Ensure proper JSON formatting with appropriate parameters."""
@
router
.
post
(
'/chat/completions'
,
tags
=
[
'openai'
])
async
def
chat_completion
(
request
:
Request
,
create
:
ChatCompletionCreate
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment