test: isolate cow cli plugin import

This commit is contained in:
jimmyzhuu
2026-04-29 16:08:40 +08:00
parent 7cd7bd1a48
commit a4592ffdfe
2 changed files with 18 additions and 1 deletions

View File

@@ -428,7 +428,7 @@ class CowCliPlugin(Plugin):
@staticmethod
def _resolve_bot_type_for_model(model_name: str) -> str:
"""Resolve bot_type from model name, reusing AgentBridge mapping."""
"""Resolve bot_type from model name, matching AgentBridge mapping."""
from common import const
_EXACT = {
"wenxin": const.BAIDU, "wenxin-4": const.BAIDU,