mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-08 22:38:05 -05:00
Bugfix: respect config.tom system_prompt_filename when running swe-bench (#11091)
Co-authored-by: openhands <openhands@all-hands.dev> Co-authored-by: Graham Neubig <neubig@gmail.com>
This commit is contained in:
committed by
GitHub
parent
f402371b27
commit
818f743dc7
@@ -259,6 +259,9 @@ def get_config(
|
|||||||
condenser=metadata.condenser_config,
|
condenser=metadata.condenser_config,
|
||||||
enable_prompt_extensions=False,
|
enable_prompt_extensions=False,
|
||||||
model_routing=model_routing_config,
|
model_routing=model_routing_config,
|
||||||
|
system_prompt_filename=metadata.agent_config.system_prompt_filename
|
||||||
|
if metadata.agent_config
|
||||||
|
else 'system_prompt.j2',
|
||||||
)
|
)
|
||||||
config.set_agent_config(agent_config)
|
config.set_agent_config(agent_config)
|
||||||
|
|
||||||
|
|||||||
@@ -218,3 +218,11 @@ lint.pydocstyle.convention = "google"
|
|||||||
concurrency = [ "gevent" ]
|
concurrency = [ "gevent" ]
|
||||||
relative_files = true
|
relative_files = true
|
||||||
omit = [ "enterprise/tests/*", "**/test_*" ]
|
omit = [ "enterprise/tests/*", "**/test_*" ]
|
||||||
|
|
||||||
|
[tool.pyright]
|
||||||
|
exclude = [
|
||||||
|
"evaluation/evaluation_outputs/**",
|
||||||
|
"**/__pycache__",
|
||||||
|
"**/.git",
|
||||||
|
"**/node_modules",
|
||||||
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user