updated docs, handle seed oss thinking

This commit is contained in:
Concedo 2026-04-25 22:44:40 +08:00
parent b31877e8ec
commit 929f214bf6
3 changed files with 30 additions and 1 deletions

View file

@ -6,6 +6,9 @@ labels: ''
assignees: ''
---
Before you proceed, please:
1. Read the Wiki to see if your question is answered - https://github.com/LostRuins/koboldcpp/wiki
2. Search for past issues if someone else has already found a solution
**Describe the Issue**
A clear and detailed description of what the issue is, and how to duplicate it (if applicable).

View file

@ -1575,6 +1575,31 @@
]
}
},
"/api/extra/speakers_list": {
"get": {
"responses": {
"200": {
"content": {
"application/json": {
"example": {
"results": ["kobo", "cheery", "sleepy", "shouty", "chatty", "random", "instruct"]
},
"schema": {
"properties": {},
"type": "object"
}
}
},
"description": "Successful request"
}
},
"summary": "Get a list of available TTS speakers.",
"description": "Get a list of available TTS speakers.",
"tags": [
"api/extra"
]
}
},
"/api/extra/embeddings": {
"post": {
"summary": "Creates an embedding vector representing the input text. Please refer to OpenAI documentation",

View file

@ -172,6 +172,7 @@ zenity_recent_dir = os.getcwd()
zenity_permitted = True
thinkformats = [{"start":"<|channel|>analysis<|message|>","end":"<|start|>assistant<|channel|>final<|message|>"},
{"start":"<think>","end":"</think>"},
{"start":"<seed:think>","end":"</seed:think>"},
{"start":"<|channel>thought","end":"<channel|>"}]
tool_call_pairs = [ #third element is whether its stream-handleable
("<tool_call>", "</tool_call>", True),
@ -5655,7 +5656,7 @@ Change Mode<br>
response_body = make_url_request(f'{epurl}/api/extra/tts', {"input": prompt})
pass
elif clean_path.endswith('/speakers_list'): #xtts compatible
elif clean_path.endswith('/speakers_list') or clean_path.endswith('/api/extra/speakers_list'): #xtts compatible
response_body = (json.dumps(voicelist).encode()) #some random voices for them to enjoy
elif clean_path.endswith('/speakers'): #xtts compatible
tmplist = []