Repository navigation
Conversation
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Jazzcort
force-pushed
the
agui-client-mode
branch
from
October 27, 2026 19:38
0aae879 to
a1fb797
Compare
Jazzcort
force-pushed
the
agui-client-mode
branch
from
December 4, 2026 16:24
a1fb797 to
b06f308
Compare
Comment on lines
+82
to
+83
| "SELECT id, document, content_text, " | ||
| "embedding <=> $1::vector AS distance " |
Add a POST /v1/agui endpoint that streams agent runs over Server-Sent Events using the AG-UI protocol, built on pydantic-ai's AGUIAdapter. - Add AGUIRunAgentInput/AGUIForwardedProps request models; Lightspeed options (provider, model, mode, system_prompt, shield_ids, vector_store_ids, okp_products, no_tools) are passed in forwardedProps - Add from_agui_request builders to every AgentSettings component; step persistence is enabled only in "server" mode - Add LightspeedAGUIAdapter and post-run token quota accounting - Add the AGUI authorization action and the AGUIResponse OpenAPI model - Regenerate the OpenAPI schema
- Cover from_agui_request on every AgentSettings component (agent, compaction, knowledge, MCP, shield, skill, step persistence), including server/client mode persistence and None provider/model normalization - Check MCP settings from AG-UI and query requests match - Register the agui router in the router tests (26 routers, /v1 prefix) - Test that AGUIResponse is documented as SSE only and that its example parses as a valid AG-UI event stream
Jazzcort
force-pushed
the
agui-client-mode
branch
2 times, most recently
from
December 5, 2026 04:05
e5821e2 to
057e518
Compare
Jazzcort
force-pushed
the
agui-client-mode
branch
from
December 5, 2026 05:28
771e733 to
d882696
Compare
Jazzcort
force-pushed
the
agui-client-mode
branch
from
December 6, 2026 02:04
d882696 to
3357a53
Compare
This branch has not been deployed
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.
Description
Everything here is just temporary. There final implementation can only be done after the Pydantic AI migration becuase we don't want to put a lot of efforts here to fight with OGX but then redo it again after the migration.
The code here is just to make /agui endpoint work within lightspeed stack. The authentication and validation part should be good, but many features might not work well or might not be even working.
The implementation here is only for "client" mode where the frontend will manage the conversation history. Some lightspeed stack features do not work with this mode (i.g. compapction, inline rag...etc) because they sort of modify the conversation which makes syncing the message history between frontend and backend more difficult or potentially increase the risk of contaminizing the history.
This commit is just to pin our current progression on /agui so we can pick up the work from this point after the migration is done.
Type of change
pyproject.toml+uv.lock]requirements.*.txtfor Konflux]Tools used to create PR
Identify any AI code assistants used in this PR (for transparency and review context)
Related Tickets & Documents
Checklist before requesting a review
Testing