Run all LLM wrapper tests.
()
| 198 | |
| 199 | |
| 200 | async def main(): |
| 201 | """Run all LLM wrapper tests.""" |
| 202 | print("=" * 80) |
| 203 | print("Running LLM Wrapper Tests") |
| 204 | print("=" * 80) |
| 205 | print("\nNote: These tests require a valid MiniMax API key in config.yaml") |
| 206 | |
| 207 | results = [] |
| 208 | |
| 209 | # Test default provider |
| 210 | results.append(await test_wrapper_default_provider()) |
| 211 | |
| 212 | # Test Anthropic provider |
| 213 | results.append(await test_wrapper_anthropic_provider()) |
| 214 | |
| 215 | # Test OpenAI provider |
| 216 | results.append(await test_wrapper_openai_provider()) |
| 217 | |
| 218 | # Test tool calling |
| 219 | results.append(await test_wrapper_tool_calling()) |
| 220 | |
| 221 | print("\n" + "=" * 80) |
| 222 | if all(results): |
| 223 | print("All LLM wrapper tests passed! ✅") |
| 224 | else: |
| 225 | print("Some LLM wrapper tests failed. Check the output above.") |
| 226 | print("=" * 80) |
| 227 | |
| 228 | |
| 229 | if __name__ == "__main__": |
no test coverage detected