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

Refactor society-wide AI component #2326

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

anth-volk
Copy link
Collaborator

Description

Fixes #2321
Fixes #2325
Depends upon review and merging of PolicyEngine/policyengine-api#2136; will remain in draft until they are merged.

Changes

This PR consumes changes made in the linked API PR, altering how we fetch AI prompts and output. It also handles the API PR's transition away from streaming for responses already present in our database, refactors front-end visuals to improve UX, and adds better error handling to prevent endless spinners.

Screenshots

AwesomeScreenshot-1_29_2025.6_26_28PM.webm

Tests

None have yet been added

Copy link

vercel bot commented Jan 29, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
policyengine-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 7, 2025 9:30pm

@anth-volk anth-volk force-pushed the fix/refactor-society-wide-ai branch from dd6b075 to 1353989 Compare February 7, 2025 21:28
@anth-volk anth-volk marked this pull request as ready for review February 11, 2025 02:13
@anth-volk anth-volk requested a review from mikesmit February 11, 2025 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
1 participant