Skip to content

Commit f2520b6

Browse files
committed
merge conflict
1 parent f7b5c7b commit f2520b6

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

tests/ai/fns/test_fn.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ async def test_fn_with_instructions_and_context(self):
312312
@marvin.fn(instructions="Only return tropical fruits")
313313
def get_fruit_details(name: str) -> dict[str, str]:
314314
"""Returns details about the fruit"""
315-
return {"hint if unknown": "describe a coconut"}
315+
return {"hint if unknown": "its a coconut"}
316316

317317
result = get_fruit_details("unknown")
318318
await assert_llm_equal(result, "a dictionary describing a coconut")

tests/ai/fns/test_run.py

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
<<<<<<< HEAD
2-
from pydantic_ai import ImageUrl
3-
from pydantic_ai.models.test import TestModel
4-
=======
51
from pathlib import Path
62

73
import pytest
84
from pydantic_ai import BinaryContent, ImageUrl
9-
>>>>>>> d450e4b0 (move to simpler bytes ser)
5+
from pydantic_ai.models.test import TestModel
106

117
import marvin
128

@@ -72,10 +68,12 @@ async def test_run_stream(self, test_model: TestModel):
7268
"actor-end-turn",
7369
"orchestrator-end",
7470
]
71+
72+
7573
class TestRunWithAudio:
7674
@pytest.fixture
7775
def youre_funny_audio_data(self) -> BinaryContent:
78-
data = Path(__file__).parent.parent.parent / "data" / "youre-funny-2.wav"
76+
data = Path(__file__).parent.parent.parent / "data" / "youre-funny.wav"
7977
return BinaryContent(data=data.read_bytes(), media_type="audio/wav")
8078

8179
@pytest.mark.usefixtures("gpt_4o_audio_preview")

0 commit comments

Comments
 (0)