Fix: display model_id in memory_list (#16567)

This commit is contained in:
Lynn
2026-07-02 20:28:27 +08:00
committed by GitHub
parent 9a6d30bfe6
commit bc54903bf6
5 changed files with 19 additions and 37 deletions

View File

@@ -279,7 +279,7 @@ def get_model_config_from_provider_instance(tenant_id, model_type: str | enum.En
if provider_name.lower() == "somark":
# SoMark/OCR factories read parser config (somark_*, parse_method, ...)
# from model_config["extra"]; see tenant_llm_service.LLMBundle OCR path.
model_config["extra"] = model_extra.get("ocr_config", model_extra)
model_config["extra"] = model_extra
if api_key_payload is not None:
model_config["api_key_payload"] = api_key_payload

View File

@@ -84,6 +84,8 @@ class MemoryService(CommonService):
User.nickname.alias("owner_name"),
cls.model.memory_type,
cls.model.storage_type,
cls.model.embd_id,
cls.model.llm_id,
cls.model.permissions,
cls.model.description,
cls.model.create_time,