mirror of
https://github.com/aljazceru/nostrdvm.git
synced 2026-02-09 00:04:21 +01:00
Update nostr_dvmcp_server.js
This commit is contained in:
@@ -121,7 +121,7 @@ async function getnip89s() {
|
||||
let content_json = JSON.parse(evt.content)
|
||||
let tools = content_json.tools
|
||||
for (let tool of tools) {
|
||||
if (tool.inputSchema === undefined || tool.inputSchema.properties === undefined) {
|
||||
if (tool.inputSchema === undefined || tool.inputSchema.properties === undefined || tool.description === undefined) {
|
||||
continue
|
||||
}
|
||||
const zodSchema = convertSchemaDefinitionToZod(tool.inputSchema.properties);
|
||||
|
||||
Reference in New Issue
Block a user