You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LOGGER.warning(f"Initializing chatblock with model: {model_name}")
169
+
LOGGER.debug(f"Initializing chatblock with model: {model_name}")
171
170
172
171
ifmodel_name.startswith("claude"):
173
172
self.chat_client=ChatAnthropic(
@@ -183,8 +182,6 @@ def render(self):
183
182
LOGGER.debug(
184
183
f'submitting request to API for completion with last message role "{self.data["messages"][-1]["role"]}" (message = {self.data["messages"][-1:]}). Temperature = {self.data["temperature"]} (type {type(self.data["temperature"])})'
f"""This conversation has reached its maximum context size and the chatbot won't be able to respond further ({token_count} tokens, max: {model_dict["context_window"]}). Please make a new chat block to start fresh, or use a model with a larger context window"""
0 commit comments