Fix get_conversation_reference in skill_handler_impl
@@ -276,6 +276,9 @@ class _SkillHandlerImpl(SkillHandler):
conversation_reference_result = await self._conversation_id_factory.get_conversation_reference(
conversation_id
)
+ if isinstance(conversation_reference_result, SkillConversationReference):
+ skill_conversation_reference: SkillConversationReference = conversation_reference_result
+ else:
skill_conversation_reference: SkillConversationReference = SkillConversationReference(
conversation_reference=conversation_reference_result,
oauth_scope=self._get_oauth_scope(),
