Skip to content

Commit

Permalink
Use GPT-4o as default system model.
Browse files Browse the repository at this point in the history
  • Loading branch information
liffiton committed Jul 17, 2024
1 parent 4e64d24 commit 61c33ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gened/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ def make_system_client() -> LLMDict:
""" Factory function to initialize a default client (using the system key)
only if/when needed.
"""
# Get the systemwide default model (TODO: better control than just id=1)
model_row = db.execute("SELECT models.model FROM models WHERE models.id=1").fetchone()
# Get the systemwide default model (TODO: better control than just id=2)
model_row = db.execute("SELECT models.model FROM models WHERE models.id=2").fetchone()
system_model = model_row['model']
system_key = current_app.config["OPENAI_API_KEY"]
return {
Expand Down

0 comments on commit 61c33ba

Please sign in to comment.