[loop-generated] [bug] Hardcoded xAI base URL in 3 locations — should use config #647

Closed
opened 2026-03-20 22:16:21 +00:00 by Timmy · 0 comments
Owner

Problem

https://api.x.ai/v1 is hardcoded in 3 places instead of using the config system:

  1. src/timmy/backends.py:107
  2. src/timmy/backends.py:118
  3. src/infrastructure/router/cascade.py:762

Fix

Add an xai_base_url field to the config (or use the existing provider URL config), then reference it in all 3 locations.

Scope

2 files, <10 lines changed. Quick fix.

## Problem `https://api.x.ai/v1` is hardcoded in 3 places instead of using the config system: 1. `src/timmy/backends.py:107` 2. `src/timmy/backends.py:118` 3. `src/infrastructure/router/cascade.py:762` ## Fix Add an `xai_base_url` field to the config (or use the existing provider URL config), then reference it in all 3 locations. ## Scope 2 files, <10 lines changed. Quick fix.
Timmy closed this issue 2026-03-20 22:47:06 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#647