Skip to content

[bug] - wrong translation, dangerous one #2

@aryayt

Description

@aryayt

duplicate config block to the file and the sudo ksh - part pipes
content into a shell as root, which is unsafe.

To update the token, just edit the file directly:

nano ~/.clawhip/config.toml

Or use sed to replace the token in-place:

sed -i '' 's/token = ".*"/token = "YOUR_NEW_TOKEN_HERE"/'
~/.clawhip/config.toml

No sudo needed — it's in your home directory.

Regarding your nl2shell product — from the conversation context I know
 nl2shell.com is live (Next.js + Vercel) with a Qwen 0.8B model, and
this is exactly the kind of test case that exposes accuracy gaps. The
model generating that broken command is a good example of why v2
(Qwen2.5-Coder-1.5B with OS context) is needed — it needs to
understand that editing a TOML config file isn't a pipeline-to-shell
operation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions