Skip to content

Claude/fix ai commands 08ynb#17

Merged
NerdsCorp merged 3 commits intomainfrom
claude/fix-ai-commands-08ynb
Jan 18, 2026
Merged

Claude/fix ai commands 08ynb#17
NerdsCorp merged 3 commits intomainfrom
claude/fix-ai-commands-08ynb

Conversation

@NerdsCorp
Copy link
Owner

No description provided.

The "ai on/off" special handling was intercepting all 2-word messages
starting with "ai", blocking legitimate AI commands like "ai test" or
"ai hello".

Changed the condition to only trigger when the second word is exactly
"on" or "off", allowing all other AI commands to proceed to normal
command handling.

Fixes: Users can now send AI commands with single-word queries
The ai_provider was set to a placeholder value "lmstudio, openai, or ollama"
which caused get_ai_response() to return None for all AI commands.

Set ai_provider to "ollama" to enable AI command responses.

Fixes: AI commands now route to Ollama for processing
Added detailed logging to help diagnose AI command issues:
- Print loaded commands at startup
- Print configured AI provider
- Log when config commands are matched
- Log AI prompt template and final prompt
- Log AI response before returning

This will help identify where the command flow breaks when
AI commands don't respond as expected.
@NerdsCorp NerdsCorp merged commit 87fc508 into main Jan 18, 2026
1 check failed
@NerdsCorp NerdsCorp deleted the claude/fix-ai-commands-08ynb branch January 18, 2026 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants