fix: execute-stream must be GET not POST (EventSource always uses GET)
This commit is contained in:
1 parent
b39ba45749
commit
8d9b5bf397
1 file changed
+1
-1
@@ -1445,7 +1445,7 @@ from prompt_executor import execute_prompt_with_data
|
||||
from models import UnifiedPromptCreate, UnifiedPromptUpdate
|
||||
|
||||
|
||||
@router.post("/execute-stream")
|
||||
@router.get("/execute-stream")
|
||||
async def execute_unified_prompt_stream(
|
||||
prompt_slug: str = Query(..., description="Slug of prompt to execute"),
|
||||
token: Optional[str] = Query(None, description="Auth token (temporary solution for SSE)"),
|
||||
|
||||
Reference in new issue
Block a user