Compare commits

2 Commits

Author SHA1 Message Date
43f758807e fix: Flask模板路径配置修复 2026-04-12 02:04:27 +08:00
4ab0ed0893 fix: LLMClient类型导入修复 2026-04-12 01:55:34 +08:00
11 changed files with 4 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -13,7 +13,9 @@ from .orchestrator import Orchestrator
from .worker import WorkerPool, create_default_workers
from .llm_client import LLMClient
app = Flask(__name__)
import os
template_dir = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'templates')
app = Flask(__name__, template_folder=template_dir)
CORS(app)
# 初始化组件

View File

@@ -5,7 +5,7 @@ LLM客户端 - 调用大模型API
import requests
import json
import time
from typing import Dict, List, Optional
from typing import Dict, List, Optional, Any
class LLMClient: