Skip to content

Commit 1157e4f

Browse files
0xrinegadeclaude
andcommitted
dev: switch AI endpoint to localhost:3004 for testing
Temporarily point default AI endpoint to local dev server: - Changed: https://osvm.ai → http://localhost:3004 - Enables: Real-time debugging of AI requests/responses - Purpose: Test prompt improvements with full visibility Note: This is a temporary dev change for testing. Will revert to production endpoint before release. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent c02b65e commit 1157e4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/ai_service.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ impl AiService {
175175
(url, true)
176176
} else {
177177
eprintln!("⚠️ OpenAI URL provided but no OPENAI_KEY found, falling back to OSVM AI");
178-
("https://osvm.ai/api/getAnswer".to_string(), false)
178+
("http://localhost:3004/api/getAnswer".to_string(), false)
179179
}
180180
} else {
181181
// Custom URL, treat as external API
@@ -189,7 +189,7 @@ impl AiService {
189189
{
190190
(url, true)
191191
} else {
192-
("https://osvm.ai/api/getAnswer".to_string(), false)
192+
("http://localhost:3004/api/getAnswer".to_string(), false)
193193
}
194194
}
195195
};

0 commit comments

Comments
 (0)