Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
43f758807e | ||
|
|
4ab0ed0893 |
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.
+3
-1
@@ -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)
|
||||
|
||||
# 初始化组件
|
||||
|
||||
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user