fix: Fix lint errors
- Remove unused catch parameter in ToolsTab.tsx - Replace 'as any' with @ts-expect-error in test for invalid schema 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
e7e4745464
commit
5a628c7a00
2 changed files with 3 additions and 2 deletions
|
|
@ -104,7 +104,7 @@ const ToolsTab = ({
|
|||
message: "Parsed JSON does not match structured content",
|
||||
};
|
||||
}
|
||||
} catch (e) {
|
||||
} catch {
|
||||
return {
|
||||
isCompatible: false,
|
||||
message: "Unstructured content is not valid JSON",
|
||||
|
|
|
|||
|
|
@ -231,7 +231,8 @@ describe("Output Schema Validation", () => {
|
|||
description: "Tool with invalid schema",
|
||||
inputSchema: { type: "object", properties: {} },
|
||||
outputSchema: {
|
||||
type: "invalid-type" as any,
|
||||
// @ts-expect-error Testing with invalid type
|
||||
type: "invalid-type",
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in a new issue