We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d86284 commit 8f47cabCopy full SHA for 8f47cab
packages/core/src/tools/ToolsManager.ts
@@ -149,14 +149,14 @@ export default class ToolsManager {
149
150
const tool = this.#factory.get(toolName);
151
152
- if ('isInline' in tool && tool.isInline()) {
+ if ('isInline' in tool && tool.isInline() === true) {
153
/**
154
* Some Tools validation
155
*/
156
const inlineToolRequiredMethods = ['render'];
157
const notImplementedMethods = inlineToolRequiredMethods.filter(method => tool.create()[method as keyof InlineTool] !== undefined);
158
159
- if (notImplementedMethods.length) {
+ if (notImplementedMethods.length > 0) {
160
161
* @todo implement logger
162
0 commit comments