Skip to content

Commit

Permalink
rename function
Browse files Browse the repository at this point in the history
  • Loading branch information
fregataa committed Jun 23, 2024
1 parent 1151274 commit 3c0ab97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ai/backend/agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -1679,7 +1679,7 @@ async def execute_batch(
SessionFailureEvent(session_id, KernelLifecycleEventReason.TASK_CANCELLED, -2),
)

async def trigger_batch_execution(
async def create_batch_execution_task(
self,
session_id: SessionId,
kernel_id: KernelId,
Expand Down
2 changes: 1 addition & 1 deletion src/ai/backend/agent/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ async def trigger_batch_execution(
log.info(
"rpc::trigger_batch_execution(k:{0}, s:{1}, code:{2})", kernel_id, session_id, code
)
await self.agent.trigger_batch_execution(
await self.agent.create_batch_execution_task(
SessionId(UUID(session_id)), KernelId(UUID(kernel_id)), code
)

Expand Down

0 comments on commit 3c0ab97

Please sign in to comment.