Revert "implement deployment id"

This reverts commit b107db98fa.
This commit is contained in:
Paul Gauthier 2023-12-06 09:20:53 -08:00
parent b107db98fa
commit 57ab2cc9da
8 changed files with 13 additions and 21 deletions

View file

@ -85,7 +85,7 @@ class ChatSummary:
dict(role="user", content=content),
]
summary = simple_send_with_retries(self.client, self.model, messages)
summary = simple_send_with_retries(self.client, self.model.name, messages)
if summary is None:
raise ValueError(f"summarizer unexpectedly failed for {self.model.name}")
summary = prompts.summary_prefix + summary