Skip to content

[Bug]: view_file : error viewing fs.stat is not a function #109

@Kenchan1111

Description

@Kenchan1111

Bug Description

Grok seems to have an issue using the tool view_file. He cannot process fast file reading instead he switches to bash command like ls and cat to be able to read multiple files. the bug is recurrent

Steps to reproduce

$ nvm use 20
$npm install -g @vibe-kit/grok-cli
cd <Directory_with_files_to_read>
setting of morph_api_key in the working directory to use morph fast edit
$gedit .env (add MORPH_API_KEY=your_key
$grok --model grok-4-latest
Request to grok : Can you please analyze the files in the current directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions