Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Record to update not found. at async updateDefaultConfiguration #27

Open
MagicJinn opened this issue Oct 27, 2024 · 2 comments
Open

Record to update not found. at async updateDefaultConfiguration #27

MagicJinn opened this issue Oct 27, 2024 · 2 comments

Comments

@MagicJinn
Copy link

After running pnpm dev and trying to select a model, I get this error

An operation failed because it depends on one or more records that were required but not found. Record to update not found.
    at async updateDefaultConfiguration (./src/app/actions.ts:161:5)
digest: "3107342700"
 POST / 500 in 19ms
@HamedMP
Copy link
Owner

HamedMP commented Nov 2, 2024

Have you run pnpm run seed? seed inserts the costs for the models and it might be missing.

I'm upgrading the repo to v0.2 with better onboarding and documentation, you can check the current main branch. I'll ping you when the Docker version is live 🙌🏼

@MagicJinn
Copy link
Author

Yep, I ran that command. Perhaps I'm missing context as to when and where the command should be run?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants