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

we should not update when there is an error #3108

Merged
merged 1 commit into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
414 changes: 207 additions & 207 deletions bifrost/lib/clients/jawnTypes/private.ts

Large diffs are not rendered by default.

456 changes: 228 additions & 228 deletions bifrost/lib/clients/jawnTypes/public.ts

Large diffs are not rendered by default.

1,842 changes: 921 additions & 921 deletions docs/swagger.json

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion valhalla/jawn/src/lib/stores/LogStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,13 @@ export class LogStore {
console.error("Error updating and inserting prompt version", error);
throw error;
}
} else if (shouldBump.shouldUpdateNotBump) {
} else if (
shouldBump.shouldUpdateNotBump &&
!(
"error" in heliconeTemplate.template &&
heliconeTemplate.template.error === "Invalid template"
)
) {
try {
const updateQuery = `
UPDATE prompts_versions
Expand Down
554 changes: 277 additions & 277 deletions valhalla/jawn/src/tsoa-build/private/routes.ts

Large diffs are not rendered by default.

Loading
Loading