Skip to content

Commit

Permalink
Merge pull request #1172 from ATheorell/main
Browse files Browse the repository at this point in the history
Adding environment variable MODEL_NAME to cli default
  • Loading branch information
ATheorell committed Jun 16, 2024
2 parents 50d9558 + 9b60d7f commit ad060da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gpt_engineer/applications/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,9 @@ def prompt_yesno() -> bool:
)
def main(
project_path: str = typer.Argument(".", help="path"),
model: str = typer.Option("gpt-4o", "--model", "-m", help="model id string"),
model: str = typer.Option(
os.environ.get("MODEL_NAME", "gpt-4o"), "--model", "-m", help="model id string"
),
temperature: float = typer.Option(
0.1,
"--temperature",
Expand Down

0 comments on commit ad060da

Please sign in to comment.