mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-21 20:06:06 +00:00
perf(ollama): 修改请求器名称以适配请求路径
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ from ...tools import entities as tools_entities
|
|||||||
from ....core import app
|
from ....core import app
|
||||||
from ....utils import image
|
from ....utils import image
|
||||||
|
|
||||||
REQUESTER_NAME: str = "ollama-chat-completions"
|
REQUESTER_NAME: str = "ollama-chat"
|
||||||
|
|
||||||
|
|
||||||
@api.requester_class(REQUESTER_NAME)
|
@api.requester_class(REQUESTER_NAME)
|
||||||
@@ -6,7 +6,7 @@ from . import entities
|
|||||||
from ...core import app
|
from ...core import app
|
||||||
|
|
||||||
from . import token, api
|
from . import token, api
|
||||||
from .apis import chatcmpl, anthropicmsgs, moonshotchatcmpl, deepseekchatcmpl, ollamachatcmpl
|
from .apis import chatcmpl, anthropicmsgs, moonshotchatcmpl, deepseekchatcmpl, ollamachat
|
||||||
|
|
||||||
FETCH_MODEL_LIST_URL = "https://api.qchatgpt.rockchin.top/api/v2/fetch/model_list"
|
FETCH_MODEL_LIST_URL = "https://api.qchatgpt.rockchin.top/api/v2/fetch/model_list"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user