Co-Authored-By: Quentin Torroba <quentin.torroba@mistral.ai>
Co-Authored-By: Michel Thomazo <michel.thomazo@mistral.ai>
Co-Authored-By: Vincent Guilloux <vincent.guilloux@mistral.ai>
This commit is contained in:
Mathias Gesbert 2025-12-12 17:47:20 +01:00 committed by Mathias Gesbert
parent a340a721ea
commit 661588de0c
48 changed files with 1679 additions and 467 deletions

View file

@ -52,13 +52,9 @@ runs:
working-directory: ${{ github.action_path }}
env:
MISTRAL_API_KEY: "${{ inputs.MISTRAL_API_KEY }}"
PROMPT_INPUT: "${{ inputs.prompt }}"
run: |
# We want to make sure that any text passed in here
# doesn't have special bash characters (<, >, &, etc...)
ESCAPED_PROMPT=$(printf '%q' "${{ inputs.prompt }}")
# Change back to the original working directory for the tool to work
cd "${{ github.workspace }}"
uv run --directory "${{ github.action_path }}" vibe \
--auto-approve \
-p "${ESCAPED_PROMPT}"
-p "$PROMPT_INPUT"