mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-07-05 16:02:14 +02:00
update: cr增加兜底提示
This commit is contained in:
parent
35075134c2
commit
93b5716e8c
2 changed files with 5 additions and 4 deletions
|
|
@ -202,7 +202,6 @@ class CodeReview(Action):
|
|||
comments.extend(comments_batch)
|
||||
|
||||
if valid_patch_count == 0:
|
||||
await ThoughtReporter().async_report(value={"type": "limit", "classify": "language"})
|
||||
raise ValueError("Only code reviews for Python and Java languages are supported.")
|
||||
|
||||
return comments
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue