-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LLM Tools support for Google Generative AI integration #117644
Merged
Merged
Changes from 13 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
1e4e12d
initial commit
Shulyaka 37a4faf
Undo prompt chenges
Shulyaka d9bd295
Move format_tool out of the class
Shulyaka 07f1fdc
Merge branch 'dev' into google_ai_tools
Shulyaka 2e62688
Only catch HomeAssistantError and vol.Invalid
Shulyaka a8f0445
Add config flow option
balloob 3c2cd07
Fix type
balloob 68d7c8f
Add translation
balloob c9f9385
Allow changing API access from options flow
balloob e3fd6de
Allow model picking
balloob 2aaed5b
Remove allowing HASS Access in main flow
balloob d71fca7
Move model to the top in options flow
balloob a98e801
Make prompt conditional based on API access
balloob cf2b230
convert only once to dict
balloob 56c5e99
Reduce debug logging
balloob cb4f0e1
Update title
balloob 6f39352
re-order models
balloob fa81db5
Address comments
balloob 01e57ee
Move things
balloob 0ae2f2b
Update labels
balloob b076a2d
Add tool call tests
Shulyaka d582426
Merge branch 'dev' into google_ai_tools
Shulyaka b8f2db9
coverage
Shulyaka 5358aaa
Merge remote-tracking branch 'origin/dev' into google_ai_tools
balloob 581d6d0
Use LLM APIs
balloob f59fa45
Fixes
balloob 40d927f
Address comments
balloob 7b49680
Reinstate the title to not break entity name
balloob File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed this because when I had configured a bad model, the config entry refused to startup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is that bad? Isn't it better to fail as soon as possible?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The config entry wouldn't set up and the user couldn't change the model anymore 🙈
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(happened to me)