mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-11-06 05:02:24 +01:00
Squash Odysseus development history
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
from src.clean_agent_preview import successful_duplicate_recovery_message
|
||||
|
||||
|
||||
def test_duplicate_pdf_recovery_names_missing_artifacts_and_next_tools(tmp_path):
|
||||
prompt = (
|
||||
"Read /workspace/fixtures/paper.pdf and create "
|
||||
"/workspace/results.csv and /workspace/chart.png"
|
||||
)
|
||||
|
||||
message = successful_duplicate_recovery_message(
|
||||
"pdf_extract",
|
||||
"withheld for the next correction round",
|
||||
prompt,
|
||||
str(tmp_path),
|
||||
{"url": "/workspace/fixtures/paper.pdf", "query": "Figure 5"},
|
||||
)
|
||||
|
||||
assert "/workspace/results.csv" in message
|
||||
assert "/workspace/chart.png" in message
|
||||
assert "python or write_file" in message
|
||||
assert "inspect_media" in message
|
||||
assert "pages" in message
|
||||
Reference in New Issue
Block a user