Skip to content

Commit 6907d02

Browse files
authored
Rename MODEL to GPT_MODEL for clarity
1 parent 75794ca commit 6907d02

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

clients/utils/llm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
CACHE_DIR = Path("./cache_dir")
2727
CACHE_PATH = CACHE_DIR / "cache.json"
28-
MODEL = "gpt-4o"
28+
GPT_MODEL = "gpt-4o"
2929

3030

3131
@dataclass
@@ -120,7 +120,7 @@ def inference(self, payload: list[dict[str, str]]) -> list[str]:
120120
try:
121121
response = self.client.chat.completions.create(
122122
messages=payload, # type: ignore
123-
model=MODEL,
123+
model=GPT_MODEL,
124124
max_tokens=1024,
125125
temperature=0.5,
126126
top_p=0.95,

0 commit comments

Comments
 (0)