Skip to content
This repository was archived by the owner on May 4, 2026. It is now read-only.
This repository was archived by the owner on May 4, 2026. It is now read-only.

File read tool fails with absolutePath, offset, limit undefined (DeepSeek 4 Pro, macOS) #8

@hamzasgd

Description

@hamzasgd

Expected Behavior

  • The agent resolves file paths correctly within the workspace
  • File read operations succeed and return file contents
  • Internal requests include valid parameters:
    • "absolutePath" is a string
    • "offset" and "limit" are defined numbers

Actual Behavior

  • File read operations fail before execution
  • Internal request contains undefined values for required fields
  • Validation layer throws errors and no file content is returned
[
  {
    "code": "invalid_type",
    "expected": "string",
    "received": "undefined",
    "path": ["absolutePath"],
    "message": "Invalid input: expected string, received undefined"
  },
  {
    "code": "invalid_type",
    "expected": "number",
    "received": "undefined",
    "path": ["offset"],
    "message": "Invalid input: expected number, received undefined"
  },
  {
    "code": "invalid_type",
    "expected": "number",
    "received": "undefined",
    "path": ["limit"],
    "message": "Invalid input: expected number, received undefined"
  }
]

Command Code Version

0.24.1

Operating System

macOS

Terminal/IDE

CMUX Terminal

Shell

zsh

Additional context

Environment specifics:

DeepSeek 4 Pro
macOS 26.4.1
Apple M1 Max

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions