davidlms commited on
Commit
511c6c8
·
verified ·
1 Parent(s): 7b80c57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -368,12 +368,12 @@ class ExerciseGenerator:
368
  self.tools = []
369
  self.connection_status = "Disconnected"
370
 
371
- # Configure OpenAI client for OpenRouter with Mistral Medium 3.1
372
  self.openai_client = OpenAI(
373
  api_key=os.getenv("OPENROUTER_API_KEY"),
374
  base_url=os.getenv("OPENROUTER_BASE_URL", "https://openrouter.ai/api/v1"),
375
  )
376
- self.model_name = "mistralai/mistral-medium-3.1"
377
 
378
  async def connect_to_ipmentor(self) -> str:
379
  """Connect to IPMentor MCP server"""
@@ -1224,7 +1224,7 @@ def create_interface():
1224
  # Subnetting Exercise Generator
1225
 
1226
  Generate validated IPv4 subnetting exercises automatically. The agentic system uses AI to create realistic scenarios
1227
- and validates each exercise using [IPMentor](https://agents-mcp-hackathon-ipmentor.hf.space)'s calculation tools with MCP and Mistral Medium 3.1 as LLM Client.
1228
  """)
1229
 
1230
  with gr.Row():
 
368
  self.tools = []
369
  self.connection_status = "Disconnected"
370
 
371
+ # Configure OpenAI client for OpenRouter with Mistral Medium 3
372
  self.openai_client = OpenAI(
373
  api_key=os.getenv("OPENROUTER_API_KEY"),
374
  base_url=os.getenv("OPENROUTER_BASE_URL", "https://openrouter.ai/api/v1"),
375
  )
376
+ self.model_name = "mistralai/mistral-medium-3"
377
 
378
  async def connect_to_ipmentor(self) -> str:
379
  """Connect to IPMentor MCP server"""
 
1224
  # Subnetting Exercise Generator
1225
 
1226
  Generate validated IPv4 subnetting exercises automatically. The agentic system uses AI to create realistic scenarios
1227
+ and validates each exercise using [IPMentor](https://agents-mcp-hackathon-ipmentor.hf.space)'s calculation tools with MCP and Mistral Medium 3 as LLM Client.
1228
  """)
1229
 
1230
  with gr.Row():