mirror of
https://github.com/microsoft/autogen.git
synced 2026-01-27 07:48:08 -05:00
Fix printout check for num code blocks (#1902)
This commit is contained in:
@@ -1273,7 +1273,7 @@ class ConversableAgent(LLMAgent):
|
||||
continue
|
||||
|
||||
num_code_blocks = len(code_blocks)
|
||||
if num_code_blocks > 1:
|
||||
if num_code_blocks == 1:
|
||||
print(
|
||||
colored(
|
||||
f"\n>>>>>>>> EXECUTING CODE BLOCK (inferred language is {code_blocks[0].language})...",
|
||||
|
||||
Reference in New Issue
Block a user