Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat(ai): enable querying history by session #14368

Conversation

planger
Copy link
Contributor

@planger planger commented Oct 29, 2024

What it does

In more complex scenarios, there are often multiple agents involved, which may call each other. In those cases it is crucial to allow tracing all LLM requests for a session across agents.

This change introduces a query to obtain all communication events across a session, irrespectively of the agent.

Contributed on behalf of STMicroelectronics.

How to test

This change includes a test case.

Follow-ups

We may want to improve the history view at some point to allow querying the events of a session also in the user interface.

Review checklist

Reminder for reviewers

@planger planger requested a review from sdirix October 29, 2024 08:46
@planger planger changed the title feat(ai): enable querying history of by session feat(ai): enable querying history by session Oct 29, 2024
In more complex scenarios, there are often multiple agents involved, which may call each other. In those cases it is crucial to allow tracing all LLM requests for a session across agents.

This change introduces a query to obtain all communication events across a session, irrespectively of the agent.

Contributed on behalf of STMicroelectronics.
@planger planger force-pushed the planger/ai/enable-session-based-history branch from a9dbb88 to 7fcf959 Compare October 29, 2024 08:47
Copy link
Contributor

@JonasHelming JonasHelming left a comment

Choose a reason for hiding this comment

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

LGTM!

@planger planger merged commit fbcd368 into eclipse-theia:master Oct 30, 2024
11 checks passed
@planger planger deleted the planger/ai/enable-session-based-history branch October 30, 2024 07:50
@jfaltermeier jfaltermeier added this to the 1.55.0 milestone Oct 30, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants