fix: land oxlint config follow-ups (#1064) (thanks @connorshea)
This commit is contained in:
@@ -227,7 +227,7 @@ export function createMessageTool(options?: MessageToolOptions): AnyAgentTool {
|
||||
}
|
||||
}
|
||||
|
||||
if (result.toolResult) return result.toolResult;
|
||||
if ("toolResult" in result && result.toolResult) return result.toolResult;
|
||||
return jsonResult(result.payload);
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user