()
| 141 | logger.info(f"| --------------------------------------------------") |
| 142 | |
| 143 | async def test_video(): |
| 144 | logger.info(f"| --------------------------------------------------") |
| 145 | logger.info(f"| Testing video with different models") |
| 146 | models = [ |
| 147 | "openrouter/gemini-2.5-flash", |
| 148 | # "google/gemini-2.5-flash", |
| 149 | ] |
| 150 | |
| 151 | messages = [ |
| 152 | SystemMessage(content="You are a helpful assistant."), |
| 153 | HumanMessage(content=[ |
| 154 | ContentPartText(text="Please analyze the video and provide the analysis. Only return the analysis, no other text or formatting."), |
| 155 | ContentPartVideo(video_url=VideoURL(url=make_file_url(file_path="tests/files/video.MOV"))), |
| 156 | ]), |
| 157 | ] |
| 158 | |
| 159 | for model in models: |
| 160 | logger.info(f"| Testing {model}") |
| 161 | response = await model_manager(model=model, messages=messages) |
| 162 | logger.info(f"| {model} Response: {json.dumps(response.model_dump(), indent=4)}") |
| 163 | logger.info(f"| --------------------------------------------------") |
| 164 | |
| 165 | |
| 166 | async def test_pdf(): |
nothing calls this directly
no test coverage detected