sync update from LAN repo (source dhk-1 @ 3b1ec5b4)
This commit is contained in:
1 parent
da6521b6cb
commit
264e2200d6
995 files changed
+148105
-13399
No files matched your search
@@ -7,6 +7,7 @@ import logging
|
||||
from dataclasses import dataclass
|
||||
from typing import Any
|
||||
|
||||
from app.gateway.wiki_generation_config import WIKI_CONFIG_SCHEMA_VERSION
|
||||
from deerflow.integrations.weknora.client import WeKnoraClient, WeKnoraError
|
||||
from deerflow.integrations.weknora.runtime import build_weknora_client, get_resolved_llmwiki_runtime
|
||||
from deerflow.persistence.llmwiki import LlmWikiStore
|
||||
@@ -197,6 +198,16 @@ async def ensure_conversation_deposit_mapping(
|
||||
name=CONVERSATION_DEPOSIT_KB_NAME,
|
||||
description=CONVERSATION_DEPOSIT_KB_DESCRIPTION,
|
||||
kb_type="document",
|
||||
wiki_parent_directories=None,
|
||||
wiki_directory_paths=[],
|
||||
wiki_focus_instructions="",
|
||||
wiki_content_instructions_raw="",
|
||||
wiki_extraction_instructions_raw="",
|
||||
wiki_generation_managed=True,
|
||||
wiki_config_schema_version=WIKI_CONFIG_SCHEMA_VERSION,
|
||||
wiki_config_revision=1,
|
||||
wiki_config_apply_status="active",
|
||||
wiki_config_apply_error=None,
|
||||
)
|
||||
published = await store.request_publish(str(row["id"]), CONVERSATION_DEPOSIT_OWNER_USER_ID, is_admin=True)
|
||||
return published or row
|
||||
|
||||
Reference in new issue
Block a user