fix: 去掉所有元宝/yuanbao残留,全面改为 DeepSeek

This commit is contained in:
admin
2026-04-17 09:17:17 +08:00
parent 898f180361
commit a7f669ef82
2 changed files with 30 additions and 19 deletions
+5 -5
View File
@@ -14,11 +14,11 @@ from datetime import datetime
from flask import Flask, render_template_string
from flask_socketio import SocketIO, emit
# 导入 yuanbao_agent_chat 的核心类
# 导入 DeepSeek Agent 的核心类
from yuanbao_agent_chat import SoloAgent, ExecutionEngine
app = Flask(__name__)
app.config['SECRET_KEY'] = 'yuanbao-agent-secret'
app.config['SECRET_KEY'] = 'deepseek-agent-secret'
socketio = SocketIO(app, cors_allowed_origins="*", async_mode='threading')
# 全局状态
@@ -33,7 +33,7 @@ HTML_TEMPLATE = '''
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Yuanbao Agent - Web 控制台</title>
<title>DeepSeek Agent - Web 控制台</title>
<script src="https://cdn.socket.io/4.5.4/socket.io.min.js"></script>
<style>
* {
@@ -366,7 +366,7 @@ HTML_TEMPLATE = '''
</head>
<body>
<div class="header">
<h1>🤖 Yuanbao Agent Web 控制台</h1>
<h1>🤖 DeepSeek Agent Web 控制台</h1>
<div class="status-bar">
<div class="status">
<span class="status-dot" id="browserStatusDot"></span>
@@ -856,7 +856,7 @@ def handle_clear_terminal():
def main():
print("=" * 60)
print("Yuanbao Agent Web 控制台")
print("DeepSeek Agent Web 控制台")
print("=" * 60)
print(f"请打开浏览器访问: http://localhost:5000")
print("=" * 60)