We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Qyusu/quantum-code-validator'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
common.py•525 B
def fix_error_prompt(code: str, error_message: str) -> str:
"""Fix the error message."""
return f"""
You are a helpful assistant that fixes errors in code.
# Code
{code}
# Error Message
{error_message}
"""
def fix_by_reference_prompt(code: str, reference: str) -> str:
"""Fix the code by the reference documentation."""
return f"""
You are a helpful assistant. Please fix the code by the reference documentation.
# Code
{code}
# Reference
{reference}
"""