unable to add files to the context with @
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- github-actions, typescript
調査の方向性
まず Action YAML のワークフローを再現し、prompt が @ コマンド処理にどのように渡されるかを追跡します。@/path/to/a/file を指定してワークフローを再実行し、エラーなしでファイルが prompt のコンテキストに追加されることを確認して、fix を検証します。
索引モデルが issue の本文から書いたものです。
説明
TL;DR
I am trying to add files to the prompt context using @ like I do in the Gemini CLI, but the result is an error
Error: Exiting due to an error processing the @ command.
See logs for more details
Error: Process completed with exit code 1.
Expected behavior
The files I add with @/path/to/file are added to the context.
Observed behavior
The @ is procesed as a command or something like that
Action YAML
- name: Run Prompt
uses: google-github-actions/run-gemini-cli@2a77eb258d8d2447292fd5d9df6e7b49533d4f37
id: analyze-ci-error
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
gemini_api_key: ${{ secrets.GEMINI_API_KEY }}
prompt: |
## Context
@/path/to/a/file
## Question
Answer to the ultimate question of life, the universe, and everything
Log output
Error: Exiting due to an error processing the @ command.
See logs for more details
Error: Process completed with exit code 1.
Additional information
No response
- 主要言語
- TypeScript
- スター
- 2.1k
- フォーク
- 285
- 平均マージ
- 8時間 8分
- マージ済み PR(30日)
- 1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
google-github-actions/run-gemini-cli のほかの issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
google-github-actions/run-gemini-cli の issue をすべて見る
似ている issue
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
Crush オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
ElementsProject/cln-application#167 · コメント 1 件 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Quantco/pnpm-licenses#17 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100