Provide Gemini with the list of IDs in correction request
This commit is contained in:
1 parent
f978310c4c
commit
2d0f7a219f
9 files changed
+242
-9
No files matched your search
@@ -26,6 +26,7 @@ class GeminiConfigTests(unittest.TestCase):
|
||||
with tempfile.TemporaryDirectory() as directory:
|
||||
image = Path(directory) / "answer.jpg"
|
||||
image.write_bytes(b"image")
|
||||
image.with_suffix(".json").write_text('[["01", 0, 400, 1.0, "Ex 1"]]')
|
||||
for level in ("minimal", "low", "medium", "high", None):
|
||||
with self.subTest(level=level), patch.object(prompting, "make_prompt", return_value="Grade"):
|
||||
_, config = prompting.generate_request(directory, image, "Ex 1", thinking_level=level)
|
||||
|
||||
Reference in new issue
Block a user