Skip to content

Commit

Permalink
Bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonOsika committed Jun 11, 2023
1 parent 86426e9 commit 35c75d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ def chat(
run_prefix: str = typer.Option("", help="run prefix, if you want to run multiple variants of the same project and later compare them"),
model: str = "gpt-4",
temperature: float = 0.1,
max_tokens: int = 8192,
):

if project_path is None:
Expand All @@ -32,7 +31,6 @@ def chat(
ai = AI(
model=model,
temperature=temperature,
max_tokens=max_tokens,
)

dbs = DBs(
Expand All @@ -50,4 +48,4 @@ def chat(


if __name__ == "__main__":
app()
app()
1 change: 1 addition & 0 deletions steps.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from ai import AI
from chat_to_files import to_files
from db import DBs
import json


def setup_sys_prompt(dbs):
Expand Down

0 comments on commit 35c75d2

Please sign in to comment.