MCPcopy Create free account
hub / github.com/MiniMax-AI/Mini-Agent / main

Function main

tests/test_llm.py:200–226  ·  view source on GitHub ↗

Run all LLM wrapper tests.

()

Source from the content-addressed store, hash-verified

198
199
200async 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
229if __name__ == "__main__":

Callers 1

test_llm.pyFile · 0.70

Tested by

no test coverage detected