Skip to content

Choose a tag to compare

@mirrajabi mirrajabi released this 23 Mar 20:24
· 12 commits to main since this release

What's Changed

Deprecation

API Keys now have to be set using api_key_env_name and api_key_env_value.
Using fields below to set the api key is deprecated and will be removed in a future release:

  • openai_api_key
  • anthropic_api_key
  • gemini_api_key
  • groq_api_key
  • cohere_api_key
  • deepseek_api_key
  • openrouter_api_key

How to migrate

Change the input parameters using the new fields like below and remove the deprecated inputs:

jobs:
  my_job:
    steps:
      - name: Apply changes with Aider
        uses: mirrajabi/aider-github-action@v1.1.0
        timeout-minutes: 10 # So that you won't accidentally burn your LLM provider credits!
        with:
          api_key_env_name: OPENAI_API_KEY
          api_key_env_value: ${{ secrets.openai_api_key }}
          branch: ${{ fromJson(steps.create_branch.outputs.result).ref }}
          model: ${{ inputs.model }}
          aider_args: '--yes --message "Do this and that"'

Full Changelog: v1.0.4...v1.1.0