perf(ollama): 修改请求器名称以适配请求路径

This commit is contained in:
RockChinQ 2024-07-09 23:37:19 +08:00
parent e78c82e999
commit bdb8baeddd
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ from ...tools import entities as tools_entities
from ....core import app
from ....utils import image
REQUESTER_NAME: str = "ollama-chat-completions"
REQUESTER_NAME: str = "ollama-chat"
@api.requester_class(REQUESTER_NAME)

View File

@ -6,7 +6,7 @@ from . import entities
from ...core import app
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"