Skip to content

Commit 55cc0db

Browse files
authored
Merge pull request #10 from import-ai/feature/internal_api
Update callback API endpoint
2 parents e57a623 + 94e5db4 commit 55cc0db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wizard/wand/worker.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ async def process_task(self, task: Task, trace_info: TraceInfo) -> Task:
145145
async def callback(self, task: Task, trace_info: TraceInfo):
146146
async with httpx.AsyncClient(base_url=self.config.backend.base_url) as client:
147147
http_response: httpx.Response = await client.post(
148-
f"/api/v1/tasks/callback",
148+
f"/internal/api/tasks/callback",
149149
json=task.model_dump(exclude_none=True, mode="json"),
150150
headers={"X-Trace-ID": task.task_id}
151151
)

0 commit comments

Comments
 (0)