Skip to content

[FEATURE REQUEST] Add a hint popup showing how to delete individual messages when model returns "input length and max_tokens exceed context limit" errors. #195

@mikanbox

Description

@mikanbox

Is your feature request related to a problem? / この機能リクエストは何か問題に関連していますか?

English
When using tools like ListFiles, large amounts of data can be unintentionally retrieved, causing the input token count to exceed the model's limit. While it's possible to address this by deleting individual messages by clicking on their icons, I find it somewhat difficult for users to discover that "clicking on the message icon allows you to delete individual messages."

日本語
ListFiles などのツールを使った場合に意図せず大量のデータが取得され、入力トークン数がモデルの上限を超える場合があります。このような場合にはメッセージのアイコンをクリックすることでその個別のメッセージを削除することで対応できますが、「アイコンをクリックすることで個別のメッセージを削除できる」ということに気づくことが少々難しいと感じています。

Describe the solution you'd like / 希望する解決策を説明してください。

English
When errors occur, it would be helpful to display a hint on the UI or add information to the error message so that even first-time users can discover this feature. For example, adding text like "Tip: You can delete individual messages by clicking on the message icon to reduce token count" to the error message would make this functionality more discoverable.

日本語
エラー発生時などに hint として、UI上表示するか、エラーメッセージに追記で表示していただけると初見でも気づけるようになりそうです。

Describe alternatives you've considered / 検討した代替案について説明してください。

English
Adding this information to the README.md or including it in usage instructions could serve as an alternative solution.

日本語
README.md などへの記述や使い方への記載で代替できそうです。

Additional context / 補足情報

以下プルダウンが勝手に表示されたり、表示を促すような指示があると嬉しいなと思っています。
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions