Skip to content

Commit

Permalink
Added missing requirement, fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
Getty committed Dec 28, 2024
1 parent 9802949 commit e510a38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ authors = [
dependencies = [
"pydantic>=2.0.0",
"typing-extensions>=4.0.0",
"pyyaml>=6.0.0"
]
requires-python = ">=3.8"
readme = "README.md"
Expand Down
6 changes: 3 additions & 3 deletions tests/test_mcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def test_001_openai(self):
engine_model = engine.model('gpt-4o')
self.assertIsInstance(engine_model, MCPModel)
self.assertEqual(type(engine_model).__name__, "MCPModel")
engine_slash_model = engine.model('openai/gpt-4o')
engine_slash_model = MCP.model('openai/gpt-4o')
self.assertIsInstance(engine_slash_model, MCPModel)
self.assertEqual(type(engine_slash_model).__name__, "MCPModel")
model = MCP.model('gpt-4o')
Expand All @@ -43,7 +43,7 @@ def test_002_anthropic(self):
engine_model = engine.model('claude-2.1')
self.assertIsInstance(engine_model, MCPModel)
self.assertEqual(type(engine_model).__name__, "MCPModel")
engine_slash_model = engine.model('anthropic/claude-2.1')
engine_slash_model = MCP.model('anthropic/claude-2.1')
self.assertIsInstance(engine_slash_model, MCPModel)
self.assertEqual(type(engine_slash_model).__name__, "MCPModel")
model = MCP.model('claude-2.1')
Expand All @@ -63,7 +63,7 @@ def test_003_groq(self):
engine_model = engine.model('llama3-8b-8192')
self.assertIsInstance(engine_model, MCPModel)
self.assertEqual(type(engine_model).__name__, "MCPModel")
engine_slash_model = engine.model('groq/llama3-8b-8192')
engine_slash_model = MCP.model('groq/llama3-8b-8192')
self.assertIsInstance(engine_slash_model, MCPModel)
self.assertEqual(type(engine_slash_model).__name__, "MCPModel")
model = MCP.model('llama3-8b-8192')
Expand Down

0 comments on commit e510a38

Please sign in to comment.