Erik Montnemery
5bb96f7f06
Adjust device disabled_by flag when changing config entry ( #151155 )
2025-08-26 12:37:56 +02:00
Denis Shulyaka
80e720f663
Add external tools support for chat log ( #150461 )
2025-08-16 12:20:20 +02:00
Denis Shulyaka
d5970e7733
Anthropic thinking content ( #150341 )
2025-08-15 15:52:36 +02:00
Denis Shulyaka
3e34aa5fb7
Add thinking and native content to chatlog ( #149699 )
2025-08-09 15:26:19 +02:00
Joost Lekkerkerker
e9444a2e4d
Enable disabled Anthropic config entries after entry migration ( #150098 )
2025-08-06 13:24:49 +02:00
Paulus Schoutsen
23a8442abe
Make attachments native to chat log ( #148693 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-13 19:35:11 +02:00
Erik Montnemery
b7999755bd
Correct anthropic config entry migration ( #147857 )
2025-07-01 10:47:06 +02:00
Paulus Schoutsen
38a7b21052
Split Anthropic entity ( #147770 )
2025-06-30 21:47:44 +02:00
Joost Lekkerkerker
43535ede8b
Make sure Anthropic integration migration is clean ( #147629 )
2025-06-26 23:02:59 +02:00
Paulus Schoutsen
1cb36f4c18
Convert Claude to use subentries ( #147285 )
...
* Convert Claude to use subentries
* Add latest changes from Google subentries
* Revert accidental change to Google
2025-06-24 15:36:09 +02:00
Paulus Schoutsen
059c12798d
Drop user prompt from LLMContext ( #146787 )
2025-06-13 22:01:39 -04:00
Denis Shulyaka
199c565bf2
Add Anthropic Claude 4 support ( #145505 )
...
Add Claude 4 support
Co-authored-by: Franck Nijhof <git@frenck.dev>
2025-05-23 10:31:44 -04:00
Allen Porter
8d258871ff
Record Anthropic token statistics in conversation trace ( #143727 )
...
* Record anthopic token statistics in conversation trace
* Add test coverage for output token parsing
2025-04-26 18:04:12 -04:00
Allen Porter
3da77726d0
Allow selection of multiple LLM APIs in Anthropic ( #143190 )
2025-04-19 12:34:51 +02:00
Allen Porter
ca07975ead
Fix Anthropic bug parsing a streaming response with no json ( #142745 )
2025-04-11 17:30:12 +02:00
John Karabudak
85d2e3d006
Fix LLM to speed up prefill ( #141156 )
...
* fix: two minor LLM changes to speed up prefill
- moved the current date/time to the end of the prompt
- started sorting all entities by last_changed
* addressed PR comments
* fixed tests
* reduced scope of try/catch in LLM prompt
* addressed more PR comments
* fixed Anthropic test
* addressed another PR comment
* fixed remainder of tests
2025-03-30 13:30:40 -07:00
Denis Shulyaka
07e7672b78
Anthropic conversation extended thinking support ( #139662 )
...
* Anthropic conversation extended thinking support
* update conversation snapshots
* Add conversation test
* Update openai_conversation snapshots
* Removed metadata
* Removed metadata
* Removed thinking
* cosmetic fix
* combine user messages
* Apply suggestions from code review
* Add tests for chat_log messages conversion
* s/THINKING_BUDGET_TOKENS/THINKING_BUDGET/
* Apply suggestions from code review
* Update tests
* Update homeassistant/components/anthropic/strings.json
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* apply suggestions from code review
---------
Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2025-03-14 22:07:59 -04:00
Denis Shulyaka
1786bb9903
Use model list to check anthropic API key ( #139307 )
...
Anthropic model list
2025-03-01 22:28:48 +01:00
Paulus Schoutsen
90fc6ffdbf
Add support for continue conversation in Assist Pipeline ( #139480 )
...
* Add support for continue conversation in Assist Pipeline
* Also forward to ESPHome
* Update snapshot
* And mobile app
2025-02-28 13:15:31 -06:00
Denis Shulyaka
b82886a3e1
Fix anthropic blocking call ( #139299 )
2025-02-26 12:25:59 +00:00
Allen Porter
da1e3c29ed
Update anthropic to use the streaming API ( #138256 )
2025-02-12 01:05:23 +01:00
Allen Porter
ae38f89728
Update anthropic to use the new chatlog API ( #138178 )
...
* Update anthropic to use the new chatlog API
* Remove conversation id logging
* Add back whitespace
* Reduce unnecessary diffs
* Revert diffs to conversation component
* Replace types with union type
2025-02-09 20:42:15 -08:00
Paulus Schoutsen
9679fc7878
Chat session rev2 ( #137209 )
...
* Chat Session rev 2
* Rename session to chat_log
* Simplify typing
* Typing
* Address comments
* Fix anthropic and ollama
2025-02-03 00:05:20 -05:00
epenet
b11b36b523
Add more util aliases to import conventions ( #136153 )
2025-01-21 15:58:23 +01:00
Joost Lekkerkerker
8db63adc11
Bump ruff to 0.9.1 ( #135197 )
2025-01-14 11:46:12 +01:00
epenet
d8b51b4f2c
Avoid unknown error translation strings in anthropic ( #127823 )
2024-10-08 15:59:45 +02:00
epenet
4ceb9b9dbf
Improve type hints in anthropic tests ( #123784 )
2024-08-13 11:59:48 +02:00
Paulus Schoutsen
45ce0fed0a
Reload config entry for anthropic on update ( #123280 )
...
* Reload config entry for anthropic on update
* Fix tests
2024-08-07 12:22:50 +02:00
Denis Shulyaka
262d778a38
Anthropic Claude conversation integration ( #122526 )
...
* Initial commit
* Use add_suggested_values
* Update homeassistant/components/anthropic/conversation.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update strings.json
* Update config_flow.py
* Update config_flow.py
* Fix tests
* Update homeassistant/components/anthropic/conversation.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Removed agent registration
* Moved message_convert inline function outside
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2024-08-01 22:50:10 +02:00