feat(assist): sticky sessions and agent routing#10
Open
dalehamel wants to merge 2 commits intotechartdev:mainfrom
Open
feat(assist): sticky sessions and agent routing#10dalehamel wants to merge 2 commits intotechartdev:mainfrom
dalehamel wants to merge 2 commits intotechartdev:mainfrom
Conversation
Partial/incomplete debug logging references (CONF_DEBUG_LOGGING, broken options.get() calls) were accidentally included in this branch. The full debug logging feature lives in feature/debug-logging.
Author
|
Related to this i implemented '/new' handling dalehamel#2 so that we can get a new context window if we want one (but it has to be done through text chat) |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Previously as documented in #8, we were seeing that the agent ID was completely ignored, and every new chat created a new session with open claw.
It seems the headers we were setting are completely broken?
This fixes both issues by:
We now see that home assistant correctly routes the session and reuses it:
Previously this would route to 'main' and chew through tokens as it reloaded all the agent info for every conversation very wastefully.