mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix entrypoint
This commit is contained in:
parent
a49a7f4458
commit
ffb752d878
2 changed files with 5 additions and 2 deletions
|
@ -51,6 +51,10 @@ while retry_count < max_retries and exit_code != 0:
|
|||
retry_count += 1
|
||||
print(f"Attempt {retry_count}...") # noqa
|
||||
|
||||
# run prisma generate
|
||||
result = subprocess.run(["prisma", "generate"], capture_output=True)
|
||||
exit_code = result.returncode
|
||||
|
||||
# Run the Prisma db push command
|
||||
result = subprocess.run(
|
||||
["prisma", "db", "push", "--accept-data-loss"], capture_output=True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue