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

fix: Update static_files.py #1340

Merged
merged 2 commits into from
May 6, 2024
Merged

fix: Update static_files.py #1340

merged 2 commits into from
May 6, 2024

Conversation

madgrizzle
Copy link
Contributor

Not sure if the best way to do it, but this resolved the issue with locating the static files to resolve.

Please describe the purpose of this pull request.
Fix a bug (see below)

How to test
Install memgpt via pip and run memgpt server from a different directory than where the memgpt package is installed.

Have you tested this PR?
Yes. The path to the static path comes back correct and dev portal works.

Related issues or PRs
[#1339]

Is your PR over 500 lines of code?
Nope.

Additional context
None that I can think of.

Not sure if the best way to do it, but this resolved the issue with locating the static files.
@madgrizzle madgrizzle changed the title Update static_files.py fix: Update static_files.py May 4, 2024
Copy link
Owner

@cpacker cpacker left a comment

Choose a reason for hiding this comment

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

LGTM (pending tests), thank you!

@madgrizzle
Copy link
Contributor Author

LGTM (pending tests), thank you!

Thanks. I don't know what to do (if anything) about the checks that failed.

@cpacker cpacker merged commit f1f912d into cpacker:main May 6, 2024
5 of 7 checks passed
@cpacker
Copy link
Owner

cpacker commented May 6, 2024

LGTM (pending tests), thank you!

Thanks. I don't know what to do (if anything) about the checks that failed.

I'm not sure why the remaining tests aren't passing - seems to be a bug with the workflows running on forks vs the main branch (might have regressed in the last few PRs). Merging for now (tests should pass on main), will look into it!

neverbiasu pushed a commit to neverbiasu/MemGPT that referenced this pull request May 6, 2024
Co-authored-by: cpacker <packercharles@gmail.com>
madgrizzle added a commit to madgrizzle/MemGPT that referenced this pull request May 7, 2024
fix: Update static_files.py (cpacker#1340)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants