Skip to content

Commit 67f186d

Browse files
authored
fixing openai api (#224)
1 parent e24563b commit 67f186d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/agentlab/llm/chat_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def __call__(self, messages: list[dict], n_samples: int = 1, temperature: float
292292
n=n_samples,
293293
temperature=temperature,
294294
max_tokens=self.max_tokens,
295-
log_probs=self.log_probs,
295+
logprobs=self.log_probs,
296296
)
297297

298298
if completion.usage is None:

0 commit comments

Comments
 (0)