mirror of
https://github.com/katanemo/plano.git
synced 2026-05-27 14:17:15 +02:00
make model required in readme and rst files (#503)
This commit is contained in:
parent
e43d41ba32
commit
96b583c819
3 changed files with 14 additions and 14 deletions
|
|
@ -19,7 +19,7 @@ You can also pass in a header to override model when sending prompt. Following e
|
|||
|
||||
$ curl --header 'Content-Type: application/json' \
|
||||
--header 'x-arch-llm-provider-hint: ministral-3b' \
|
||||
--data '{"messages": [{"role": "user","content": "hello"}]}' \
|
||||
--data '{"messages": [{"role": "user","content": "hello"}], "model": "none"}' \
|
||||
http://localhost:12000/v1/chat/completions 2> /dev/null | jq .
|
||||
{
|
||||
"id": "xxx",
|
||||
|
|
@ -29,7 +29,7 @@ $ curl --header 'Content-Type: application/json' \
|
|||
"choices": [
|
||||
{
|
||||
"index": 0,
|
||||
"message": {
|
||||
"messages": {
|
||||
"role": "assistant",
|
||||
"tool_calls": null,
|
||||
"content": "Hello! How can I assist you today? Let's chat about anything you'd like. 😊"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue