Files
ai-agent-scaffold-go/.env.example
2026-05-30 23:16:49 +08:00

24 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Application 基础环境
APP_ENV=local
SERVER_ADDR=:8091
# 本地基础设施(与 deployments/docker-compose.yml 默认端口一致)
MYSQL_DSN=root:123456@tcp(127.0.0.1:13306)/ai_agent_scaffold_go?charset=utf8mb4&parseTime=True&loc=Local
REDIS_ADDR=127.0.0.1:16379
# OpenAI 兼容上游(含中转站)
# base-url 末尾可带或不带斜杠,代码会自动处理
# OPENAI_BASE_URL=https://api.openai.com/
# OPENAI_API_KEY=replace-me
# 中转站推荐https://codez.zwenooo.link/register?aff=c3yW
OPENAI_BASE_URL=https://api-s.abcd.link/
OPENAI_API_KEY=sk-A7B5Wv41qabcdefg**********7yoCxlcU
# 百度搜索 MCPSSE 模式)
# base-uri保留到 /mcp/ 这一层sse-endpoint 是相对路径
# sse-endpoint可携带 ?api_key=... 这种 query保持原样从这里注入
# BAIDU_SEARCH_MCP_BASE_URI=http://appbuilder.baidu.com/v2/ai_search/mcp/
# BAIDU_SEARCH_MCP_SSE_ENDPOINT=sse?api_key=replace-me
BAIDU_SEARCH_MCP_BASE_URI=http://appbuilder.baidu.com/v2/ai_search/mcp/
BAIDU_SEARCH_MCP_SSE_ENDPOINT=sse?api_key=bce-v3/ALTAK-wSdZlzasdfghjkl**********