mirror of
https://github.com/ChinaRan0/DeepSeekSelfTool.git
synced 2025-05-05 10:18:04 +00:00
31 lines
823 B
Python
31 lines
823 B
Python
# API配置
|
|
API_TYPE="ollama" # 可选值: "deepseek" 或 "ollama"
|
|
|
|
# DeepSeek API配置
|
|
DEEPSEEK_API_KEY=""
|
|
|
|
# Ollama API配置
|
|
OLLAMA_API_URL="http://localhost:11434/api/chat" # Ollama API地址
|
|
OLLAMA_MODEL="qwen2.5-coder:14b" # Ollama模型名称
|
|
|
|
# 主题配色方案
|
|
THEMES = {
|
|
"深色主题": {
|
|
"main_bg": "#1e1e1e",
|
|
"secondary_bg": "#2d2d2d",
|
|
"text_color": "#ffffff",
|
|
"accent_color": "#007acc",
|
|
"border_color": "#404040",
|
|
"button_hover": "#005999",
|
|
"button_pressed": "#004c80"
|
|
},
|
|
"浅色主题": {
|
|
"main_bg": "#f5f5f5",
|
|
"secondary_bg": "#ffffff",
|
|
"text_color": "#333333",
|
|
"accent_color": "#2196f3",
|
|
"border_color": "#e0e0e0",
|
|
"button_hover": "#1976d2",
|
|
"button_pressed": "#1565c0"
|
|
}
|
|
} |