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:
parent
b47b034209
commit
41fe6ad2e4
@ -39,7 +39,7 @@ export async function createOrGetSession(
|
|||||||
body: {
|
body: {
|
||||||
parentID: toolContext.sessionID,
|
parentID: toolContext.sessionID,
|
||||||
title: `${args.description} (@${args.subagent_type} subagent)`,
|
title: `${args.description} (@${args.subagent_type} subagent)`,
|
||||||
} as any,
|
} as Record<string, unknown>,
|
||||||
query: {
|
query: {
|
||||||
directory: parentDirectory,
|
directory: parentDirectory,
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user