Skip to content

Commit 7d9127a

Browse files
0xrinegadeclaude
andcommitted
fix(ai): Update default API URL to production osvm.ai endpoint
Changes the default AI service URL from localhost:3000 to https://osvm.ai/api/getAnswer. This ensures new installations automatically connect to the production service. Note: Existing users with config files will need to update manually using: osvm settings ai set-url https://osvm.ai/api/getAnswer 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 3bee988 commit 7d9127a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ai_config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ fn default_provider() -> String {
4040
}
4141

4242
fn default_api_url() -> String {
43-
"http://localhost:3000/api/getAnswer".to_string()
43+
"https://osvm.ai/api/getAnswer".to_string()
4444
}
4545

4646
fn default_model() -> String {
@@ -220,7 +220,7 @@ mod tests {
220220
fn test_default_config() {
221221
let config = AiConfig::default();
222222
assert_eq!(config.provider, "local");
223-
assert_eq!(config.api_url, "http://localhost:3000/api/getAnswer");
223+
assert_eq!(config.api_url, "https://osvm.ai/api/getAnswer");
224224
assert_eq!(config.temperature, 0.7);
225225
}
226226

0 commit comments

Comments
 (0)