Skip to content

Commit

Permalink
user get_curr_org as the authentication function for generate_task api (
Browse files Browse the repository at this point in the history
  • Loading branch information
wintonzheng authored Jun 24, 2024
1 parent 6d2face commit e9846b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skyvern/forge/sdk/routes/agent_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ async def get_workflow(
@base_router.post("/generate/task/")
async def generate_task(
data: GenerateTaskRequest,
current_org: Organization = Depends(org_auth_service.get_current_org_with_authentication),
current_org: Organization = Depends(org_auth_service.get_current_org),
) -> TaskGeneration:
llm_prompt = prompt_engine.load_prompt("generate-task", user_prompt=data.prompt)
try:
Expand Down

0 comments on commit e9846b9

Please sign in to comment.