mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-14 15:25:17 +02:00
fix:line numbers and line contents do not match.
This commit is contained in:
parent
a8aaece8fb
commit
e495ea90d0
3 changed files with 32 additions and 33 deletions
|
|
@ -554,23 +554,23 @@ Error: The `first_replaced_replaced_line_number` does not match the `first_repla
|
|||
The `first_replaced_replaced_line_number` is 5 and the corresponding content is " b = 2".
|
||||
But the `first_replaced_replaced_line_content ` is "".
|
||||
The content around the specified line is:
|
||||
002|def test_function_for_fm():
|
||||
003| "some docstring"
|
||||
004| a = 1
|
||||
005| b = 2
|
||||
006| c = 3
|
||||
007| # this is the 7th line
|
||||
The 002 line is "def test_function_for_fm():"
|
||||
The 003 line is " "some docstring""
|
||||
The 004 line is " a = 1"
|
||||
The 005 line is " b = 2"
|
||||
The 006 line is " c = 3"
|
||||
The 007 line is " # this is the 7th line"
|
||||
Pay attention to the new content. Ensure that it aligns with the new parameters.
|
||||
Error: The `last_replaced_replaced_line_number` does not match the `last_replaced_replaced_line_content`. Please correct the parameters.
|
||||
The `last_replaced_replaced_line_number` is 5 and the corresponding content is " b = 2".
|
||||
But the `last_replaced_replaced_line_content ` is "".
|
||||
The content around the specified line is:
|
||||
002|def test_function_for_fm():
|
||||
003| "some docstring"
|
||||
004| a = 1
|
||||
005| b = 2
|
||||
006| c = 3
|
||||
007| # this is the 7th line
|
||||
The 002 line is "def test_function_for_fm():"
|
||||
The 003 line is " "some docstring""
|
||||
The 004 line is " a = 1"
|
||||
The 005 line is " b = 2"
|
||||
The 006 line is " c = 3"
|
||||
The 007 line is " # this is the 7th line"
|
||||
Pay attention to the new content. Ensure that it aligns with the new parameters.
|
||||
""".strip()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue