Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ AUTH_CACHE_TTL_SECONDS=180

# AI Provider - OpenRouter (required)
AI_API_KEY=sk-or-your-key-here
AI_MODEL=anthropic/claude-sonnet-4-5-20250929
AI_SUMMARY_MODEL=anthropic/claude-haiku-4-5-20251001
AI_MODEL=anthropic/claude-sonnet-4.5
AI_SUMMARY_MODEL=anthropic/claude-haiku-4.5
AI_BASE_URL=https://openrouter.ai/api/v1
AI_APP_NAME=vultisig-agent
AI_APP_URL=https://vultisig.com
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ AI Chat Agent backend service for Vultisig mobile apps. This service handles nat
| `AUTH_CACHE_KEY_SECRET` | Yes | - | HMAC secret for auth cache key derivation |
| `AUTH_CACHE_TTL_SECONDS` | No | `180` | Auth cache TTL (seconds) |
| `AI_API_KEY` | Yes | - | OpenRouter API key |
| `AI_MODEL` | No | `anthropic/claude-sonnet-4-5-20250929` | Model to use (OpenRouter format) |
| `AI_SUMMARY_MODEL` | No | `anthropic/claude-haiku-4-5-20251001` | Model for conversation summarization |
| `AI_MODEL` | No | `anthropic/claude-sonnet-4.5` | Model to use (OpenRouter format) |
| `AI_SUMMARY_MODEL` | No | `anthropic/claude-haiku-4.5` | Model for conversation summarization |
| `AI_BASE_URL` | No | `https://openrouter.ai/api/v1` | AI provider base URL |
| `AI_APP_NAME` | No | `vultisig-agent` | App name sent to OpenRouter |
| `AI_APP_URL` | No | - | App URL sent to OpenRouter |
Expand Down
4 changes: 2 additions & 2 deletions deploy/dev/01_agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ kind: ConfigMap
metadata:
name: agent
data:
ai-model: "anthropic/claude-sonnet-4-5-20250929"
ai-summary-model: "anthropic/claude-haiku-4-5-20251001"
ai-model: "anthropic/claude-sonnet-4.5"
ai-summary-model: "anthropic/claude-haiku-4.5"
ai-base-url: "https://openrouter.ai/api/v1"
ai-app-name: "vultisig-agent"
context-window-size: "20"
Expand Down
4 changes: 2 additions & 2 deletions deploy/prod/01_agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ kind: ConfigMap
metadata:
name: agent
data:
ai-model: "anthropic/claude-sonnet-4-5-20250929"
ai-summary-model: "anthropic/claude-haiku-4-5-20251001"
ai-model: "anthropic/claude-sonnet-4.5"
ai-summary-model: "anthropic/claude-haiku-4.5"
ai-base-url: "https://openrouter.ai/api/v1"
ai-app-name: "vultisig-agent"
context-window-size: "20"
Expand Down
8 changes: 4 additions & 4 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ type Config struct {
Database DatabaseConfig
Redis RedisConfig
AuthCache AuthCacheConfig
AI AIConfig
AI AIConfig
Context ContextConfig
Verifier VerifierConfig
MCP MCPConfig
MCP MCPConfig
}

// ServerConfig holds HTTP server configuration.
Expand Down Expand Up @@ -42,8 +42,8 @@ type AuthCacheConfig struct {
// AIConfig holds AI provider configuration (OpenRouter-compatible).
type AIConfig struct {
APIKey string `envconfig:"AI_API_KEY" required:"true"`
Model string `envconfig:"AI_MODEL" default:"anthropic/claude-sonnet-4-5-20250929"`
SummaryModel string `envconfig:"AI_SUMMARY_MODEL" default:"anthropic/claude-haiku-4-5-20251001"`
Model string `envconfig:"AI_MODEL" default:"anthropic/claude-sonnet-4.5"`
SummaryModel string `envconfig:"AI_SUMMARY_MODEL" default:"anthropic/claude-haiku-4.5"`
BaseURL string `envconfig:"AI_BASE_URL" default:"https://openrouter.ai/api/v1"`
AppName string `envconfig:"AI_APP_NAME" default:"vultisig-agent"`
AppURL string `envconfig:"AI_APP_URL" default:""`
Expand Down