raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.42k stars 3.12k forks source link

[Home Assistant] Assist command does not store send history #15101

Open TKDKid1000 opened 1 month ago

TKDKid1000 commented 1 month ago

Extension

https://www.raycast.com/tonka3000/homeassistant

Raycast Version

1.84.3

macOS Version

15.1

Description

When using the "Assist" command with any voice assistant that is not the default "Home Assistant," which ignores chat history, the chat history is not sent to the Home Assistant server. For example, using both Ollama's and Gemini's integrations, the chat history would not be sent to the server, only displayed on the client, resulting in situations like these: homeassistant 2024-10-26 at 21 46 59 These multi-turn conversations work fine within the standard Home Assistant UI, so I would imagine that they should function here, as well.

Steps To Reproduce

  1. Install and configure the Google-GenerativeAI extension in Home Assistant.
  2. Add a new assistant using Gemini.
  3. Run the Raycast "Assist" command and type any instruction, whether that be a query or a command. For example, "turn on the kitchen lights."
  4. Ask the assistant to "turn off what you just turned on."

Current Behaviour

The current chat history is not sent to the server, only the most recently sent message.

Expected Behaviour

The entire chat history visible on the client should be sent to the server.

raycastbot commented 1 month ago

Thank you for opening this issue!

🔔 @tonka3000 @altrdev @rspeicher @amuelli @xilopaint you might want to have a look.

💡 Author and Contributors commands The author and contributors of `tonka3000/homeassistant` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot close as not planned` Closes the issue as not planned. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.