Skip to content

[Bug]: Disallowed special token found #90

@quan-ngo-ts

Description

@quan-ngo-ts

What happened?

When I asked the agent to view my source code, which contains a special token, the agent stopped with an error log: Disallowed special token found: <|im_end|>

What did you expect to happen?

The agent should be able to view the source code. The solution may involve filtering out special tokens from the tool's response or user input using the CLI.

Steps to reproduce

  1. Let's create a code file in any language (in my case, it's JS), that contains a special token <|im_end|>
  2. Ask Auggie to view the file
  3. observe: Auggie stop (checking the process log will get "Disallowed special token found: <|im_end|>"

Auggie version

0.17.0

Request ID

c359d6e6-73b0-44e9-9599-ac1fd18f04dc

Environment details

Environment
  • OS: macOS
  • Shell: zsh
  • Tool/CLI version: 0.17.0

Anything else we need to know?

No response

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