Compare commits

...

8 Commits

Author SHA1 Message Date
fuzhongyun 21585e731f fix: llm model local -> cloud 2026-01-31 18:14:03 +08:00
fuzhongyun 71ed8146f5 fix: HeardBeatX 10s -> 100s 2026-01-31 18:10:05 +08:00
fuzhongyun 22b7a3d096 fix: llm model cloud -> local 2026-01-31 18:02:38 +08:00
fuzhongyun 9418d95a65 fix: heartbeat_interval 30 -> 300 2026-01-31 17:59:08 +08:00
fuzhongyun f33096a506 fix: 还原 excel2pic 2026-01-28 19:05:42 +08:00
fuzhongyun b1c5bfa6f5 fix:切换测试 excel2pic 2026-01-28 18:44:04 +08:00
fuzhongyun ce74a27b53 fix:切换测试 excel2pic 2026-01-28 18:37:26 +08:00
fuzhongyun 88ed4ff714 fix: 线上使用ollama云模型 2026-01-27 17:13:19 +08:00
2 changed files with 8 additions and 5 deletions

View File

@ -5,9 +5,12 @@ server:
ollama: ollama:
base_url: "http://172.17.0.1:11434" base_url: "http://172.17.0.1:11434"
model: "qwen3:8b" # model: "qwen3:8b"
generate_model: "qwen3:8b" # generate_model: "qwen3:8b"
mapping_model: "qwen3:8b" # mapping_model: "qwen3:8b"
model: "qwen3-coder:480b-cloud"
generate_model: "qwen3-coder:480b-cloud"
mapping_model: "deepseek-v3.2:cloud"
vl_model: "qwen2.5vl:3b" vl_model: "qwen2.5vl:3b"
timeout: "120s" timeout: "120s"
level: "info" level: "info"
@ -36,7 +39,7 @@ sys:
channel_pool_len: 100 channel_pool_len: 100
channel_pool_size: 32 channel_pool_size: 32
llm_pool_len: 5 llm_pool_len: 5
heartbeat_interval: 30 heartbeat_interval: 300
key: report-api key: report-api
pollSize: 5 #连接池大小不配置或配置为0表示不启用连接池 pollSize: 5 #连接池大小不配置或配置为0表示不启用连接池
minIdleConns: 2 #最小空闲连接数 minIdleConns: 2 #最小空闲连接数

View File

@ -20,7 +20,7 @@ import (
) )
const DefaultInterval = 100 * time.Millisecond const DefaultInterval = 100 * time.Millisecond
const HeardBeatX = 100 const HeardBeatX = 1000
type SendCardClient struct { type SendCardClient struct {
Auth *Auth Auth *Auth