mirror of
https://github.com/katanemo/plano.git
synced 2026-07-11 16:12:13 +02:00
use passed in model name in chat completion request
This commit is contained in:
parent
bd8004d1ae
commit
7331c415aa
10 changed files with 299 additions and 49 deletions
|
|
@ -1,17 +0,0 @@
|
|||
POST http://localhost:12000/v1/chat/completions
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"model": "--",
|
||||
"messages": [
|
||||
{
|
||||
"role": "system",
|
||||
"content": "You are a helpful assistant.\n"
|
||||
},
|
||||
{
|
||||
"role": "user",
|
||||
"content": "I want to sell red shoes"
|
||||
}
|
||||
],
|
||||
"stream": true
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue