-
Notifications
You must be signed in to change notification settings - Fork 23
Agent export #1118
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
timfdev
wants to merge
18
commits into
main
Choose a base branch
from
agent-export
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Agent export #1118
+1,224
−641
Conversation
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
…etching, saving queries
… state updates instead of full snapshots
…e in cli resize script
CodSpeed Performance ReportMerging #1118 will not alter performanceComparing Summary
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1118 +/- ##
==========================================
- Coverage 80.41% 80.18% -0.24%
==========================================
Files 262 266 +4
Lines 12735 12828 +93
Branches 1245 1255 +10
==========================================
+ Hits 10241 10286 +45
- Misses 2214 2262 +48
Partials 280 280 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
This PR closes #1060, closes #1083, closes #1099.
Separation between searching and data fetching, it makes much more sense to return only search relevant data, full entity data fetching can be on demand through a graphql call. This massively improves search speed.
Saving search queries. Saving the query (pydantic model) with embedding for: pagination, exports, caching, showing agent results in frontend, analysis/query suggestions etc. The removed embedding from the encoded cursor reduces payload size by (~)95% when using 1536 dimensional vectors.
Saving agent runs, can be used to reconstruct agent runs for analysis, persisting chats etc. preserving and collecting of all executed queries in a run.
agent is now a router on the same level as other API routes , preventing naming conflicts, proper dependency injection
Usage of StateDeltaEvents, which is more efficient because it only sends updated parts of the state link
Refactored and simplified cursor pagination
Agent now has a new export tool that sets a download url in the state, copilotkit then renders this as a button
Agent also has a new tool to fetch detailed data if needed, because search results now contain lightweight data like id,score only. For now this is the same format as the export tool, we can change this later, possibly only allowing detailed fetching for single entities and letting the agent choose what data it wants.