Allow Hermes callback endpoint to accept revision prompts
/api/prompt/<rid> previously rejected any request not in 'pending' status. This blocked the revision workflow from using the callback. Now the endpoint accepts 'pending' (sets status to 'prompt_ready') and 'revisions_requested' (keeps status as 'revisions_requested' so the operator still sees it needs new song uploads).
This commit is contained in:
parent
51f7ffd5ab
commit
7ab8388741
2 changed files with 9 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,4 +1,5 @@
|
|||
.env
|
||||
.env.local
|
||||
__pycache__/
|
||||
*.pyc
|
||||
.venv/
|
||||
|
|
|
|||
Reference in a new issue