This commit is contained in:
vegu-ai-tools
2025-10-24 18:02:48 +03:00
parent 7dbff08056
commit 65a8cbf853
3 changed files with 5 additions and 3 deletions

View File

@@ -816,7 +816,9 @@ class ClientBase:
try:
self.remote_model_name = await self.get_model_name()
except Exception as e:
self.log.debug("client status error", e=traceback.format_exc(), client=self.name)
self.log.debug(
"client status error", e=traceback.format_exc(), client=self.name
)
self.log.warning("client status error", e=e, client=self.name)
self.remote_model_name = None
self.connected = False

View File

@@ -273,7 +273,7 @@ class KoboldCppClient(ClientBase):
async def get_model_name(self):
self.ensure_api_endpoint_specified()
if not self.api_url:
return None

View File

@@ -157,7 +157,7 @@ class ConfigPlugin(Plugin):
async def handle_determine_llm_template(self, data):
payload = DetermineLLMTemplatePayload(**data["data"])
if not payload.model:
log.info("No model provided, skipping template determination")
return