Skip to content

Tilde (~) bug - is it a problem with OpenCode, or with Grok 4.1 Fast? #14559

Closed

Description

@zigmoo

Description

Hi @thdxr ,

Is this failure to successfully interpret a ~ more likely to be an OpenCode thing, or a grok model thing?
I've encountered this numerous times in recent months.
This is with Grok 4.1 Fast (Non-Reasoning) xAI as the model/provider.
I'm not having this issue in claude or codex.

Thanks for all your great work on OpenCode... I LOVE it and use it a lot.
I'm sad I'm not one of the #lucky130 getting to see you at the upcoming conference with DHH in NYC!

Thanks and best regards,

Jason Ziegler
Memphis, Tennessee

given:

on framemoowork ~ ❯ ls -lah ~/READ*
Permissions Size User Date Modified Name
lrwxrwxrwx     - moo  19 Feb 14:09   /home/moo/READ_ME_FIRST.md -> /home/moo/Documents/agentic_memory_01/READ_ME_FIRST.md

on framemoowork ~ ❯ ls -lah ~/Downloads/remind*
Permissions Size User Date Modified Name
.rw-r--r--  998k moo  21 Feb 06:45   /home/moo/Downloads/remind-book-1.0.pdf

The faulty interaction below took place in a brand new session just now:

read the file ~/READ_ME_FIRST.md and then decide if the remind program described in ~/Downloads/remind-book-1.0.pdf could or should be a useful tool in accomplishing goals in the task list or overall objective of agentic_memory
→ Read ~/READ_ME_FIRST.md 
Error: File not found: /home/moo/~/READ_ME_FIRST.md
→ Read ~/Downloads/remind-book-1.0.pdf 
Error: File not found: /home/moo/~/Downloads/remind-book-1.0.pdf
Files not found. Use absolute paths without ~ (e.g., /home/moo/READ_ME_FIRST.md).
▣  Build · grok-4-1-fast-non-reasoning · 3.1s

Plugins

none

OpenCode version

1.2.10

Steps to reproduce

See prompt and screenshot

Screenshot and/or share link

Image

Operating System

Omarchy 3.3 fully updated

Terminal

Ghostty

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Feb 21, 2026
  2. github-actions commented on Apr 23, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions