This repository was archived by the owner on Jan 5, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
libraries/botbuilder-core/botbuilder/core/skills Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -276,10 +276,13 @@ async def _get_skill_conversation_reference(
276276 conversation_reference_result = await self ._conversation_id_factory .get_conversation_reference (
277277 conversation_id
278278 )
279- skill_conversation_reference : SkillConversationReference = SkillConversationReference (
280- conversation_reference = conversation_reference_result ,
281- oauth_scope = self ._get_oauth_scope (),
282- )
279+ if isinstance (conversation_reference_result , SkillConversationReference ):
280+ skill_conversation_reference : SkillConversationReference = conversation_reference_result
281+ else :
282+ skill_conversation_reference : SkillConversationReference = SkillConversationReference (
283+ conversation_reference = conversation_reference_result ,
284+ oauth_scope = self ._get_oauth_scope (),
285+ )
283286
284287 if not skill_conversation_reference :
285288 raise KeyError ("SkillConversationReference not found" )
You can’t perform that action at this time.
0 commit comments