mesh-api icon indicating copy to clipboard operation
mesh-api copied to clipboard

/ai-xx works to the node with AI enabled but can it reply to a channel

Open droidblastnz opened this issue 1 year ago • 5 comments

When using the /ai-xx works to the node with AI enabled but can it reply to a channel?

[Info] Routing user message to Ollama... [Info] Wait 10s before responding to reduce collisions. [Info] Sending broadcast on channel 0 → 'm@i- I'm your Mesh Network Assistant!' [Info] Successfully sent chunk 1/1 on ch=0. [UI] Broadcast on channel 2 => '/ai-g4 hi' [Info] Sending broadcast on channel 2 → '/ai-g4 hi' [Info] Successfully sent chunk 1/1 on ch=2. [UI] Broadcast on channel 4 => '/ai-g4 what is the weather tomorrow' [Info] Sending broadcast on channel 4 → '/ai-g4 what is the weather tomorrow' [Info] Successfully sent chunk 1/1 on ch=4. [Info] Received from node !9ee79104 (direct=True, ch=0) => '/weather' [Info] Wait 10s before responding to reduce collisions. [Info] Sending direct message to node !9ee79104 => 'm@i- Currently, local weather is unknown. (This is a placeholder.)' [Info] Direct chunk 1/1 to !9ee79104 sent. [Info] Received from node !9ee79104 (direct=True, ch=0) => 'hi' [Info] Routing user message to Ollama... [Info] Wait 10s before responding to reduce collisions. [Info] Sending direct message to node !9ee79104 => 'm@i- Hello! How can I help you with your mesh network?' [Info] Direct chunk 1/1 to !9ee79104 sent.

droidblastnz avatar Nov 25 '25 06:11 droidblastnz

All are set to true.

Broadcast channel works AI responds. DM AI responds. Any channel or conversation /ai-xx doesnt call the AI LLM? Should it be able to invite the AI LLM into the channel?

"reply_in_channels": true, // Set to true to allow AI to reply in broadcast channels "reply_in_directs": true, // Set to true to allow AI to reply in direct messages "ai_respond_on_longfast": true, // Do NOT respond on LongFast (channel 0) by default; enable only with mesh/community consent "respond_to_mqtt_messages": true, // If true, the bot will respond to messages that arrived via MQTT (default false to prevent multi-replies)

droidblastnz avatar Dec 01 '25 07:12 droidblastnz

Apologies I've been dealing with some health stuff.

I'll look into this in the next day or so. Something in that logic may have broken.

Thanks for the report and sorry. One very overworked and determined man over here.

mr-tbot avatar Jan 21 '26 23:01 mr-tbot

All good. This feature worked in the previous version but had no prefix

droidblastnz avatar Jan 22 '26 18:01 droidblastnz

About to push a PR3 version that should fix this - please let me know how you fare.

mr-tbot avatar Feb 08 '26 22:02 mr-tbot

v0.6.0 final is about to drop and it should fix this definitively - please let me know if you still have issues!

mr-tbot avatar Mar 08 '26 23:03 mr-tbot