Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dingfeli
Copy link
Contributor

Issue #, if available:
#2652
#2912

Description of changes:
As titled.
Note that when loading convo with saved context, we are going to do the following:

  • Examine to see if file path is in the current agent's permanent scope
  • If it is NOT present, move it to the current agent's session paths

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Comment on lines +115 to +116
existing_paths
.push(ContextFilePath::Session(incoming_path.get_path_as_str().to_string()));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should also check if incoming_path was a session-path?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are all deserialized as Agent path actually. So it is included in here.

@evanliu048 evanliu048 enabled auto-merge (squash) October 22, 2025 21:33
@evanliu048 evanliu048 merged commit feb6eae into main Oct 22, 2025
15 checks passed
@evanliu048 evanliu048 deleted the dingfeli/fix-saving-context branch October 22, 2025 22:24
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.

4 participants