fix(tools/call-omo-agent): replace as any with Record type cast in session-creator

Cast session body to Record<string, unknown> instead of as any

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim 2026-02-23 02:43:48 +09:00
parent b47b034209
commit 41fe6ad2e4

View File

@ -39,7 +39,7 @@ export async function createOrGetSession(
body: {
parentID: toolContext.sessionID,
title: `${args.description} (@${args.subagent_type} subagent)`,
} as any,
} as Record<string, unknown>,
query: {
directory: parentDirectory,
},