feat!(lua): improve the error message with suggested actions

オープン
#148 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@S1M0N38 がすでに取り組んでいます。

2026年2月25日 から。

評価

この issue はまだ評価されていません。

説明

completed-in-dev

Right now, the error reported by the Lua API is something like this:

[BAD_REQUEST] Cannot purchase consumable card, consumable slots are full. Current: 2, Limit: 2.

This is a pretty descriptive message, but maybe these kinds of error messages could be improved by suggesting some actions. E.g.

[BAD_REQUEST] Cannot purchase consumable card, consumable slots are full. You can free a slot by `use` or `sell` a consumable.

This feature is considered a BREAKING CHANGE because the error messages are included in the MEMORY.md in BalatroLLM. So this would change how the LLM behaves because it would have access to better error messages, expecting an improvement in performance (increased ability to self-heal from failed tool calls).

主要言語
Python
スター
79
フォーク
23
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

coder/balatrobot のほかの issue

coder/balatrobot の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。