aef8791151
- Added Appshell component with responsive navbar and main content area - Integrated ColorSchemeToggle for light/dark mode switching - Created Welcome component with styled title and introductory text - Developed ChatPage for LLM interaction with WebSocket support - Implemented Biblioteca for managing notes with rich text editor - Added LoginPage for user authentication with error handling - Introduced MessageList and MessageBubble components for chat messages - Styled components with CSS modules for consistent design
30 lines
751 B
Python
30 lines
751 B
Python
import asyncio
|
|
from domains.Llms.MCPs.McpServer import MCPServerRunner
|
|
|
|
async def main():
|
|
venv_python = r"E:\Fitz_Studio\.venv\Scripts\python.exe"
|
|
|
|
runner_math = MCPServerRunner(
|
|
r"E:\Fitz_Studio\src\Llms\MCPs\McpServers\server_math.py",
|
|
python_path=venv_python
|
|
)
|
|
runner_tools = MCPServerRunner(
|
|
r"E:\Fitz_Studio\src\Llms\MCPs\McpServers\server_utils.py",
|
|
python_path=venv_python
|
|
)
|
|
|
|
await runner_math.start()
|
|
await runner_tools.start()
|
|
|
|
try:
|
|
while True:
|
|
await asyncio.sleep(1)
|
|
except KeyboardInterrupt:
|
|
print("\n⛔ Terminando servidores...")
|
|
|
|
await runner_math.stop()
|
|
await runner_tools.stop()
|
|
|
|
if __name__ == "__main__":
|
|
asyncio.run(main())
|