Skip to content

Add session to agents #4216

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

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open

Add session to agents #4216

wants to merge 18 commits into from

Conversation

DOsinga
Copy link
Collaborator

@DOsinga DOsinga commented Aug 20, 2025

Add session id to everything and pass those on to the agent

@michaelneale
Copy link
Collaborator

I think right direction - assuming session id == a new agent, ie open a session, get an agent created and assigned. This is the same as CLI effectively, but without it being at the electron window level (which was also the same effectively as the cli).

I assume would be some old code to cleanout like get_state in goose-server (agent.rs) and the general state.rs in the goose-server crate as well?

@DOsinga
Copy link
Collaborator Author

DOsinga commented Aug 20, 2025

I think right direction - assuming session id == a new agent, ie open a session, get an agent created and assigned. This is the same as CLI effectively, but without it being at the electron window level (which was also the same effectively as the cli).

I assume would be some old code to cleanout like get_state in goose-server (agent.rs) and the general state.rs in the goose-server crate as well?

yeah that bit is still being worked on. new agent -> goosed gives you a session id and that's what you pass around for state, almost nothing else. continue on session, same but you don't need to create it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants