From 59faa6498ae1801b6f7dbdf461f3666ed490e760 Mon Sep 17 00:00:00 2001 From: Tai An Date: Sat, 29 Aug 2026 15:26:13 -0700 Subject: [PATCH] fix(samples): pass the credential to _create_kernel_with_chat_completion in mixed_chat_images The helper in this sample takes (service_id, credential), like the four other mixed_chat samples, but the call site only passes service_id, so the sample dies with TypeError before it reaches the group chat. --- python/samples/concepts/agents/mixed_chat/mixed_chat_images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/samples/concepts/agents/mixed_chat/mixed_chat_images.py b/python/samples/concepts/agents/mixed_chat/mixed_chat_images.py index d93965a8dc34..648ebd97cb1e 100644 --- a/python/samples/concepts/agents/mixed_chat/mixed_chat_images.py +++ b/python/samples/concepts/agents/mixed_chat/mixed_chat_images.py @@ -57,7 +57,7 @@ async def main(): service_id = "summary" summary_agent = ChatCompletionAgent( - kernel=_create_kernel_with_chat_completion(service_id=service_id), + kernel=_create_kernel_with_chat_completion(service_id=service_id, credential=credential), instructions="Summarize the entire conversation for the user in natural language.", name="Summarizer", )