mirror of
https://github.com/stablyai/orca.git
synced 2026-10-22 16:03:47 +00:00
Implement robust orchestration primitives and connected-server workers (#9925)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import type { RpcResponse } from '../runtime/rpc/core'
|
||||
|
||||
export function buildRemoteCliError(message: string, code = 'runtime_error'): RpcResponse {
|
||||
return {
|
||||
id: 'remote-cli-local',
|
||||
ok: false,
|
||||
error: { code, message },
|
||||
_meta: { runtimeId: 'unknown' }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user