mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
fix: pip error.
This commit is contained in:
parent
3dde4664f4
commit
247fa13e86
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ class ExecuteNbCode(Action):
|
|||
outputs = self.parse_outputs(self.nb.cells[-1].outputs)
|
||||
outputs, success = truncate(remove_escape_and_color_codes(outputs), is_success=success)
|
||||
|
||||
if "!pip" in outputs:
|
||||
if "!pip" in code:
|
||||
success = False
|
||||
|
||||
return outputs, success
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue