Skip to content

Commit

Permalink
fix(llamabot/cli)πŸ”’: Remove sensitive API key from source code.
Browse files Browse the repository at this point in the history
- Removed the API key from the default parameters in the write_release_notes function to enhance security.
  • Loading branch information
ericmjl committed Oct 3, 2024
1 parent f36dd14 commit c997861
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llamabot/cli/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ def write_release_notes(release_notes_dir: Path = Path("./docs/releases")):
"You are an expert software developer "
"who knows how to write excellent release notes based on git commit logs.",
model_name=default_language_model(),
api_key=os.environ["MISTRAL_API_KEY"],
stream_target="none",
)
with console.status("[bold green]Generating release notes...", spinner="dots"):
Expand Down

0 comments on commit c997861

Please sign in to comment.