2026-01-29 11:44:29 +08:00
|
|
|
spring.application.name=recursive-advisor-demo
|
2026-01-29 20:58:16 +08:00
|
|
|
server.port=8080
|
2026-01-29 11:44:29 +08:00
|
|
|
|
|
|
|
|
## Anthropic Claude SDK
|
|
|
|
|
spring.ai.anthropic.api-key=${ANTHROPIC_API_KEY}
|
|
|
|
|
spring.ai.anthropic.chat.options.model=claude-sonnet-4-5-20250929
|
|
|
|
|
spring.ai.anthropic.chat.options.max-tokens=1000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## OpenAI SDK (使用智谱 AI)
|
|
|
|
|
spring.ai.openai-sdk.api-key=8aa2da245af34ab3b874ae6f1a1ea59b.vv3hk1jcYtRtKHZx
|
|
|
|
|
spring.ai.openai-sdk.chat.options.model=glm-4.7
|
|
|
|
|
spring.ai.openai-sdk.base-url=https://open.bigmodel.cn/api/coding/paas/v4
|
|
|
|
|
spring.ai.openai-sdk.chat.options.temperature=0.7
|
|
|
|
|
|
|
|
|
|
## Google GenAI SDK
|
|
|
|
|
spring.ai.google.genai.project-id=${GOOGLE_CLOUD_PROJECT}
|
|
|
|
|
# spring.ai.google.genai.location=${GOOGLE_CLOUD_LOCATION}
|
|
|
|
|
spring.ai.google.genai.location=global
|
|
|
|
|
spring.ai.google.genai.chat.options.model=gemini-3-pro-preview
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Agent Configuration
|
|
|
|
|
|
|
|
|
|
agent.skills.dirs=classpath:/.claude/skills
|
|
|
|
|
|
|
|
|
|
## Model info (Must match the configured model above)
|
|
|
|
|
# agent.model=claude-sonnet-4-5-20250929
|
|
|
|
|
# agent.model.knowledge.cutoff=2025-01-01
|
|
|
|
|
|
|
|
|
|
agent.model=glm-4-flash
|
|
|
|
|
agent.model.knowledge.cutoff=2025-01-01
|
|
|
|
|
|
|
|
|
|
# agent.model=gemini-3-pro-preview
|
|
|
|
|
# agent.model.knowledge.cutoff=Unknown
|
|
|
|
|
|
2026-01-29 20:58:16 +08:00
|
|
|
## MCP Server Configuration
|
|
|
|
|
|
|
|
|
|
# 客户风险成本 MCP 服务器
|
|
|
|
|
spring.ai.mcp.client.risk-cost.command=node
|
|
|
|
|
spring.ai.mcp.client.risk-cost.args=D:/project/spring-ai-skill/mcp-servers/risk-cost-server/index.js
|