Skip to content

Template fixes#1079

Merged
LeonOstrez merged 3 commits intomainfrom
template-fixes
Aug 5, 2024
Merged

Template fixes#1079
LeonOstrez merged 3 commits intomainfrom
template-fixes

Conversation

@senko
Copy link
Copy Markdown
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.

senko added 3 commits August 4, 2024 16:04
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
@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