Skip to content
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

Add docs list agent #882

Merged
merged 6 commits into from
Jan 28, 2025
Merged

Add docs list agent #882

merged 6 commits into from
Jan 28, 2025

Conversation

ahuang11
Copy link
Contributor

Shows users a list of documents they uploaded.

I think provides should accept sources|document_sources. Right now, I work around that by doing:

if p not in self._memory]
            if unprovided and not any(unprovided):
                step.failed_title = f"{agent_name} did not provide {', '.join(unprovided)}. Aborting the plan."

Since there's an RC out, maybe merge this after release.

image

@ahuang11 ahuang11 requested a review from philippjfr December 18, 2024 19:47
Copy link

codecov bot commented Dec 18, 2024

Codecov Report

Attention: Patch coverage is 42.30769% with 15 lines in your changes missing coverage. Please review.

Project coverage is 57.98%. Comparing base (861d49f) to head (c32f52d).
Report is 19 commits behind head on main.

Files with missing lines Patch % Lines
lumen/ai/agents.py 39.13% 14 Missing ⚠️
lumen/ai/controls.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #882      +/-   ##
==========================================
- Coverage   58.40%   57.98%   -0.42%     
==========================================
  Files         109      109              
  Lines       13915    14057     +142     
==========================================
+ Hits         8127     8151      +24     
- Misses       5788     5906     +118     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ahuang11 ahuang11 force-pushed the add_document_list_agent branch from 3151109 to de2dfee Compare January 27, 2025 16:47
@ahuang11
Copy link
Contributor Author

image

@ahuang11 ahuang11 requested a review from philippjfr January 27, 2025 16:53
@philippjfr philippjfr merged commit 503481e into main Jan 28, 2025
12 checks passed
@philippjfr philippjfr deleted the add_document_list_agent branch January 28, 2025 15:36
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