mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-26 01:06:27 +02:00
add extra field for report
This commit is contained in:
parent
7745e09c39
commit
76e3a14d38
2 changed files with 27 additions and 14 deletions
|
|
@ -100,7 +100,8 @@ class Editor:
|
|||
file_path=file_path,
|
||||
block_content=block_content,
|
||||
)
|
||||
self.resource.report(result.file_path, "path")
|
||||
self.resource.report(result.file_path, "path",
|
||||
extra={"type": "search", "line_range": {"start": start, "end": end}})
|
||||
return result
|
||||
return None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue