From e89e7e922e7abecaa6741eed61ead411a89211d6 Mon Sep 17 00:00:00 2001 From: Brendan Smith Date: Tue, 27 Aug 2024 12:25:01 -0500 Subject: [PATCH] Update model to gpt-4o --- config.py | 4 ++-- config.toml | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/config.py b/config.py index 1c6655d..a16cd16 100644 --- a/config.py +++ b/config.py @@ -15,8 +15,8 @@ def __init__(self, *args, **kwargs): def __getattr__(self, item): try: return self._data[item] - except KeyError: - raise AttributeError(f"'AttrDict' object has no attribute '{item}'") + except KeyError as e: + raise AttributeError(f"'AttrDict' object has no attribute '{item}'") from e def __setattr__(self, key, value): # self._data[key] = value diff --git a/config.toml b/config.toml index 30521eb..080b192 100644 --- a/config.toml +++ b/config.toml @@ -2,7 +2,6 @@ experts = 10 [openai] -# model = "gpt-4-turbo-2024-04-09" -model = "gpt-3.5-turbo" +model = "gpt-4o" temperature = 0.7 timeout = 60 # seconds