fix: guard on agentChannel only, ignore args.channel for delivery check
This commit is contained in:
parent
134fdce48e
commit
646e1e41dc
@ -29,7 +29,7 @@ export function createTtsTool(opts?: {
|
||||
const channel = readStringParam(params, "channel");
|
||||
const resolvedChannel = channel ?? opts?.agentChannel;
|
||||
|
||||
if (!opts?.agentChannel && !channel) {
|
||||
if (!opts?.agentChannel) {
|
||||
return {
|
||||
content: [
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user