Skip to content

Commit d47279a

Browse files
committed
fix: Use more generic interface for GenAI tools
1 parent 9822016 commit d47279a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/genai/node/src/extensions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
*/
1313

1414
import { createExtensionPoint } from '@backstage/backend-plugin-api';
15-
import { ToolInterface } from '@langchain/core/tools';
15+
import { StructuredToolInterface } from '@langchain/core/tools';
1616
import { AgentTypeFactory } from './types';
1717

1818
export interface AgentToolExtensionPoint {
19-
addTools(...tools: ToolInterface[]): void;
19+
addTools(...tools: StructuredToolInterface[]): void;
2020
}
2121

2222
export const agentToolExtensionPoint =

0 commit comments

Comments
 (0)