diff --git a/pkg/command/operators/plugin.py b/pkg/command/operators/plugin.py index e50d0ba2..c36fbbc3 100644 --- a/pkg/command/operators/plugin.py +++ b/pkg/command/operators/plugin.py @@ -28,8 +28,6 @@ class PluginOperator(operator.CommandOperator): plugin.plugin_description, plugin.plugin_version, plugin.plugin_author) - # TODO 从元数据调远程地址 - idx += 1 yield entities.CommandReturn(text=reply_str) diff --git a/pkg/provider/modelmgr/requesters/chatcmpl.py b/pkg/provider/modelmgr/requesters/chatcmpl.py index b59ab42d..c54d466f 100644 --- a/pkg/provider/modelmgr/requesters/chatcmpl.py +++ b/pkg/provider/modelmgr/requesters/chatcmpl.py @@ -67,7 +67,7 @@ class OpenAIChatCompletions(requester.LLMAPIRequester): req_messages: list[dict], use_model: requester.RuntimeLLMModel, use_funcs: list[tools_entities.LLMFunction] = None, - extra_args: dict[str, typing.Any] = {}, # TODO: 所有的args都改为从此参数读取 + extra_args: dict[str, typing.Any] = {}, ) -> llm_entities.Message: self.client.api_key = use_model.token_mgr.get_token()