Skip to content

How to use with Synology AI Console? #24

Description

@bserem

I'm trying to connect this with a Synology NAS, just as an experiment to see what can be achieved.

I can pull the models (sonnet and opus) easily:

Image

But upon verifying the connection I get an error message:

Image

This is the debug log:

[INFO] 2026-05-27T14:43:02.314Z Chat completion request received { model: 'sonnet', messageCount: 1, isStreaming: false }
[INFO] 2026-05-27T14:43:02.315Z Processing non-streaming chat completion { model: 'sonnet', messageCount: 1 }
[INFO] 2026-05-27T14:43:02.315Z Processing chat completion request { model: 'sonnet', messageCount: 1, stream: false }
[INFO] 2026-05-27T14:43:02.315Z Processing without session optimization
[INFO] 2026-05-27T14:43:06.014Z Claude execution completed successfully {
  model: 'sonnet',
  responseLength: 6,
  sessionId: null,
  useJsonOutput: false
}
[ERROR] 2026-05-27T14:43:06.014Z JSON parsing failed SyntaxError: Unexpected token 'H', "Hello." is not valid JSON
    at JSON.parse (<anonymous>)
    at ResponseValidator.validate (/home/user/.npm-global/lib/node_modules/claude-wrapper/dist/core/validator.js:10:33)
    at CoreWrapper.validateAndCorrect (/home/user/.npm-global/lib/node_modules/claude-wrapper/dist/core/wrapper.js:224:43)
    at CoreWrapper.processNormally (/home/user/.npm-global/lib/node_modules/claude-wrapper/dist/core/wrapper.js:135:21)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async /home/user/.npm-global/lib/node_modules/claude-wrapper/dist/api/routes/chat.js:46:26 undefined
[INFO] 2026-05-27T14:43:06.014Z Non-JSON response received, wrapping in OpenAI format { responseLength: 6, responsePreview: 'Hello.' }
[INFO] 2026-05-27T14:43:06.014Z Chat completion request completed successfully { requestId: 'chatcmpl-7t8lp58zdu7', model: 'sonnet' }
[INFO] 2026-05-27T14:43:06.224Z Chat completion request received { model: 'sonnet', messageCount: 1, isStreaming: false }
[INFO] 2026-05-27T14:43:06.224Z Processing non-streaming chat completion { model: 'sonnet', messageCount: 1 }
[INFO] 2026-05-27T14:43:06.224Z Processing chat completion request { model: 'sonnet', messageCount: 1, stream: false }
[INFO] 2026-05-27T14:43:06.224Z Processing without session optimization
[INFO] 2026-05-27T14:43:12.280Z Claude execution completed successfully {
  model: 'sonnet',
  responseLength: 113,
  sessionId: null,
  useJsonOutput: false
}
[ERROR] 2026-05-27T14:43:12.280Z JSON parsing failed SyntaxError: Unexpected token 'T', "Tool `veri"... is not valid JSON
    at JSON.parse (<anonymous>)
    at ResponseValidator.validate (/home/user/.npm-global/lib/node_modules/claude-wrapper/dist/core/validator.js:10:33)
    at CoreWrapper.validateAndCorrect (/home/user/.npm-global/lib/node_modules/claude-wrapper/dist/core/wrapper.js:224:43)
    at CoreWrapper.processNormally (/home/user/.npm-global/lib/node_modules/claude-wrapper/dist/core/wrapper.js:135:21)
    at async /home/user/.npm-global/lib/node_modules/claude-wrapper/dist/api/routes/chat.js:46:26 undefined
[INFO] 2026-05-27T14:43:12.280Z Non-JSON response received, wrapping in OpenAI format {
  responseLength: 113,
  responsePreview: 'Tool `verify-tool` not in my available toolset. Call attempted, got error: `No such tool available: '
}
[INFO] 2026-05-27T14:43:12.280Z Chat completion request completed successfully { requestId: 'chatcmpl-xxxx', model: 'sonnet' }

This stands out from the rest:

  responsePreview: 'Tool `verify-tool` not in my available toolset. Call attempted, got error: `No such tool available: '

Is this related to the wrapper or to claude code?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions