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
Marc Mueller
fa4e0519fa
Remove unnecessary typing casts in anthropic ( #143447 )
2025-04-22 14:05:59 +02:00
Allen Porter
ca07975ead
Fix Anthropic bug parsing a streaming response with no json ( #142745 )
2025-04-11 17:30:12 +02: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
Paulus Schoutsen
49a62d5294
Standardize conversation.async_process method ( #140125 )
2025-03-10 14:15:10 -05:00
Paulus Schoutsen
d47481a30e
Track when an LLM expects to continue a conversation ( #139810 )
...
* Track when an LLM expects to continue a conversation
* Strip content
* Address comments
2025-03-06 22:52:29 -05:00
Allen Porter
da1e3c29ed
Update anthropic to use the streaming API ( #138256 )
2025-02-12 01:05:23 +01:00
Erik Montnemery
f83c8de8d3
Update signature of platforms' async_setup_entry ( #138201 )
2025-02-10 21:08:03 +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
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
Paulus Schoutsen
b6c9fe86e1
Ensure claude supported feature reflect latest config entry options ( #123050 )
2024-08-02 15:27:11 +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