Skip to content

Commit d1e2c62

Browse files
authored
Remove unnecessary string formatting. (home-assistant#146762)
1 parent 524c16f commit d1e2c62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

homeassistant/components/google_generative_ai_conversation/conversation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ async def _async_handle_message(
391391
"Last content in chat log is not an AssistantContent: %s. This could be due to the model not returning a valid response",
392392
chat_log.content[-1],
393393
)
394-
raise HomeAssistantError(f"{ERROR_GETTING_RESPONSE}")
394+
raise HomeAssistantError(ERROR_GETTING_RESPONSE)
395395
response.async_set_speech(chat_log.content[-1].content or "")
396396
return conversation.ConversationResult(
397397
response=response,

0 commit comments

Comments
 (0)