Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Point OpenRouter attribution at pulserelay.pro and fix Fireworks key link

rcourtmanb1240c6ca3b5
diff --git a/frontend-modern/src/components/Settings/aiSettingsModel.ts b/frontend-modern/src/components/Settings/aiSettingsModel.ts
index 49569ca8c9..08ab5b67f1 100644
--- a/frontend-modern/src/components/Settings/aiSettingsModel.ts
+++ b/frontend-modern/src/components/Settings/aiSettingsModel.ts
@@ -245,7 +245,7 @@ export const AI_PROVIDER_CONFIGS: AIProviderConfig[] = [
placeholder: 'Fireworks API key',
configuredPlaceholder: '••••••••••• (configured)',
actionLinkLabel: 'Get API key →',
- actionLinkHref: 'https://fireworks.ai/account/api-keys',
+ actionLinkHref: 'https://app.fireworks.ai/settings/users/api-keys',
helperText: 'Uses https://api.fireworks.ai/inference/v1 automatically.',
clearTitle: 'Clear API key',
},
diff --git a/internal/ai/providers/openai.go b/internal/ai/providers/openai.go
index 73945de008..7172aa88e5 100644
--- a/internal/ai/providers/openai.go
+++ b/internal/ai/providers/openai.go
@@ -24,7 +24,7 @@ const (
openaiStreamMaxRetries = 1
openaiStreamInitialBackoff = 1 * time.Second
openaiStreamChunkTimeout = 12 * time.Second
- openrouterRefererURL = "https://pulse.app"
+ openrouterRefererURL = "https://pulserelay.pro"
openrouterAppTitle = "Pulse"
// OpenRouter preflights affordability against the requested maximum
// completion budget. Leaving it unset can make small chat turns reserve a
diff --git a/internal/ai/providers/openai_test.go b/internal/ai/providers/openai_test.go
index 99c0a53b07..2c58049fd3 100644
--- a/internal/ai/providers/openai_test.go
+++ b/internal/ai/providers/openai_test.go
@@ -1243,7 +1243,7 @@ func TestOpenAIClient_ListModels_OpenRouterReturnsCatalog(t *testing.T) {
server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
assert.Equal(t, "/api/v1/models", r.URL.Path)
assert.Equal(t, "Bearer sk-test", r.Header.Get("Authorization"))
- assert.Equal(t, "https://pulse.app", r.Header.Get("HTTP-Referer"))
+ assert.Equal(t, "https://pulserelay.pro", r.Header.Get("HTTP-Referer"))
assert.Equal(t, "Pulse", r.Header.Get("X-Title"))
w.Header().Set("Content-Type", "application/json")
@@ -1274,7 +1274,7 @@ func TestOpenAIClient_TestConnection_OpenRouterValidatesCurrentKey(t *testing.T)
server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
assert.Equal(t, "/api/v1/key", r.URL.Path)
assert.Equal(t, "Bearer sk-test", r.Header.Get("Authorization"))
- assert.Equal(t, "https://pulse.app", r.Header.Get("HTTP-Referer"))
+ assert.Equal(t, "https://pulserelay.pro", r.Header.Get("HTTP-Referer"))
assert.Equal(t, "Pulse", r.Header.Get("X-Title"))
w.Header().Set("Content-Type", "application/json")