mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-17 14:04:27 +01:00
Agent Protocol v1 (#5254)
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
This commit is contained in:
@@ -20,7 +20,7 @@ async def run_api_agent(
|
||||
) -> None:
|
||||
host_value = None
|
||||
|
||||
configuration = Configuration(host=config["AgentBenchmarkConfig"].host)
|
||||
configuration = Configuration(host=config["AgentBenchmarkConfig"].host + "/ap/v1")
|
||||
async with ApiClient(configuration) as api_client:
|
||||
api_instance = AgentApi(api_client)
|
||||
task_request_body = TaskRequestBody(input=task.task)
|
||||
|
||||
Reference in New Issue
Block a user