Skip to content

stable relese of queues api

Choose a tag to compare

@danilaplee danilaplee released this 03 May 13:06
· 7 commits to main since this release
2905a53

fixed the Queue Api:

curl -X POST http://localhost:8000/api/v1/run -H "Content-Type: application/json" -d '{  
    "task": "Get the title of Google homepage",
    "llm_config": {
      "provider": "deepseek",
      "model_name": "deepseek-chat"
    },
    "browser_config": {
      "headless": true,
      "disable_security": true
    },
    "max_steps": 5,
    "use_vision": false
  }'  

returns

{"task_id":number}

then you query the task status using another api

curl  http://localhost:8000/api/v1/task/:task_id/status 

and you receive the response of the job object with the status of failed, completed or running with error and result as optional parameters, the result possibly contains the videopath parameter