Commit 80d48077 authored by wuzekai's avatar wuzekai

update:更新了大模型调用路径

parent 66193f60
# === 配置 === # === 配置 ===
OLLAMA_URL <- "http://180.169.131.147:8139/api/generate" # 内网环境
OLLAMA_URL <- "http://172.31.2.2:8139/api/generate"
# 外网环境
#OLLAMA_URL <- "http://180.169.131.147:8139/api/generate"
MODEL_ID <- "qwen3-coder:30b" MODEL_ID <- "qwen3-coder:30b"
# === 单次对话 === # === 单次对话 ===
......
# === 配置 === # === 配置 ===
OLLAMA_URL <- "http://180.169.131.147:8139/api/generate" # 内网环境
OLLAMA_URL <- "http://172.31.2.2:8139/api/generate"
# 外网环境
#OLLAMA_URL <- "http://180.169.131.147:8139/api/generate"
MODEL_ID <- "qwen3-coder:30b" MODEL_ID <- "qwen3-coder:30b"
# === 单次对话 === # === 单次对话 ===
......
...@@ -49,7 +49,12 @@ output$chat_history_area <- renderUI({ ...@@ -49,7 +49,12 @@ output$chat_history_area <- renderUI({
return(create_no_data_ui()) return(create_no_data_ui())
} }
dify_base_url <- "http://180.169.131.147:8078/chat/tfjTZpJDgjQpBeTl" # 内网环境
dify_base_url <- "http://172.31.2.2:8078/chat/tfjTZpJDgjQpBeTl"
# 外网环境
# dify_base_url <- "http://180.169.131.147:8078/chat/tfjTZpJDgjQpBeTl"
dify_url <- paste0( dify_url <- paste0(
dify_base_url, dify_base_url,
"?showSidebar=true", "?showSidebar=true",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment