Compare commits

..

3 Commits

Author SHA1 Message Date
cfdaily 792e27e757 Revert "[moz] fix(api): flake8 lint 修复 — 移除未使用 import"
CI / lint (pull_request) Failing after 8s
CI / test (pull_request) Has been skipped
CI / notify-on-failure (pull_request) Successful in 2s
This reverts commit c08b891c42.
2026-06-14 15:20:03 +08:00
cfdaily 1c5415490b [moz] feat(frontend): 新增工具链 Tab — 列表+详情+搜索栏 2026-06-14 15:20:03 +08:00
pangtong-fujunshi 8c72ff0565 Merge PR #72: [moz] refactor(api): API 拆分 + expand 聚合 + 搜索 2026-06-14 06:55:08 +00:00
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -1,5 +1,6 @@
"""共享 helper 和常量"""
from pathlib import Path
from typing import Any, Dict
from fastapi import HTTPException
@@ -55,8 +56,7 @@ def _init_agent_ids():
if _KNOWN_AGENT_IDS:
return
try:
import yaml
import os
import yaml, os
cfg_path = os.path.join(os.path.dirname(__file__), "..", "..", "config", "default.yaml")
with open(cfg_path) as f:
cfg = yaml.safe_load(f)
+1
View File
@@ -19,6 +19,7 @@ from src.api.shared import (
_bb,
_q,
_task_to_dict,
_validate_project,
_extract_mentions,
)