Skip to content

Commit 95a1e29

Browse files
committed
fix: remove tool.annotations (not in ToolDefinition type)
Made-with: Cursor
1 parent 0dc4ff2 commit 95a1e29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/adapter-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export async function createAdapterServer(
149149
for (const tool of adapter.tools()) {
150150
const toolName = tool.name;
151151
const inputShape = tool.inputSchema;
152-
const annotations = tool.annotations ?? {
152+
const annotations = {
153153
readOnlyHint: true,
154154
openWorldHint: true,
155155
};

0 commit comments

Comments
 (0)