This commit is contained in:
Anton Osika
2023-06-11 11:59:16 +02:00
parent 86426e9109
commit 35c75d2e91
2 changed files with 2 additions and 3 deletions

View File

@@ -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"), 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", model: str = "gpt-4",
temperature: float = 0.1, temperature: float = 0.1,
max_tokens: int = 8192,
): ):
if project_path is None: if project_path is None:
@@ -32,7 +31,6 @@ def chat(
ai = AI( ai = AI(
model=model, model=model,
temperature=temperature, temperature=temperature,
max_tokens=max_tokens,
) )
dbs = DBs( dbs = DBs(
@@ -50,4 +48,4 @@ def chat(
if __name__ == "__main__": if __name__ == "__main__":
app() app()

View File

@@ -1,6 +1,7 @@
from ai import AI from ai import AI
from chat_to_files import to_files from chat_to_files import to_files
from db import DBs from db import DBs
import json
def setup_sys_prompt(dbs): def setup_sys_prompt(dbs):