mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-27 21:08:00 +00:00
docs: add TODO for AI config repository to fix 404 fallback errors
Document expected 404 behavior in AI configuration system where loaders attempt GitHub remote fetch first, then gracefully fallback to bundled files. Details: - Console shows "Failed to load resource: 404" during Settings → AI Config refresh - Affects: soul/loader.ts and tools/loader.ts GitHub URL attempts - Fallback works correctly, 404s are cosmetic console warnings - TODO: Setup public AI config repository for clean remote loading 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -259,6 +259,12 @@ loadAIConfig() → AIConfig // Combined SOUL + TOOLS configuration
|
||||
- GitHub remote (latest)
|
||||
- Bundled fallback (reliable)
|
||||
|
||||
**TODO**: Set up public AI configuration repository to eliminate 404 fallback errors
|
||||
- Current: AI config loaders try GitHub URLs first (fail with 404), then fallback to bundled files
|
||||
- Console shows: "Failed to load resource: the server responded with a status of 404"
|
||||
- Affected: Settings → AI Configuration "Refresh Soul/Tools" buttons
|
||||
- Files: `src/lib/ai/soul/loader.ts`, `src/lib/ai/tools/loader.ts`
|
||||
|
||||
### Unified Injection System
|
||||
|
||||
Every user message automatically gets AI context injected:
|
||||
|
||||
Reference in New Issue
Block a user