feat(file-check): 更新文件检核工具 API Key 配置及相关文档
This commit is contained in:
1 parent
634dee4b81
commit
55cf7ff734
74 files changed
+1525
-1182
No files matched your search
@@ -19,11 +19,12 @@ HXOPS_TOOL_API_KEY_INPUT = "hxops_tool_api_key"
|
||||
|
||||
|
||||
def is_shipping_notice_chat_agent(agent) -> bool:
|
||||
"""判断 Agent 记录是否为发货通知聊天 Agent。"""
|
||||
return getattr(agent, "name", None) == CHAT_AGENT_NAME
|
||||
|
||||
|
||||
def build_dify_chat_inputs() -> dict[str, str]:
|
||||
"""Build Dify chat API inputs so HTTP nodes can reference env-specific hxops URLs."""
|
||||
"""构建 Dify Chatflow 输入变量(Tool API Base URL 与 API Key)。"""
|
||||
base = resolve_tool_api_base_url()
|
||||
key = str(current_app.config.get("SHIPPING_NOTICE_TOOL_API_KEY") or "").strip()
|
||||
inputs: dict[str, str] = {}
|
||||
|
||||
Reference in new issue
Block a user