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

Template fixes #1079

Merged
merged 3 commits into from
Aug 5, 2024
Merged

Template fixes #1079

merged 3 commits into from
Aug 5, 2024

Conversation

senko
Copy link
Contributor

@senko senko commented Aug 5, 2024

This modifies the React+Express template to inject authentication headers in all client API calls.

This is so the LLM doesn't need to remember to add a header for each request manually, which is not reliable.

The PR also has a fix for a bug (incorrect variable initialization) in the SpecWriter agent that blocked me from doing the templating change.

The last commit re-enables the template again. Ideally the PR will be QAd before merging/releasing.

This also implements the /api/auth/me endpoint where UI can check
if the token is still valid and get current user information.
@senko senko requested a review from LeonOstrez August 5, 2024 09:59
@LeonOstrez LeonOstrez merged commit b33282f into main Aug 5, 2024
6 checks passed
@LeonOstrez LeonOstrez deleted the template-fixes branch August 5, 2024 10:07
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