Describe the bug
Prompt pre fetch and prompt post fetch plugins which changes the prompt is not working correctly
Steps To Reproduce
- Create mcp server with prompt endpoints
@mcp.prompt("/echo_prompt", name="echo_user_message", description="Formats a message into a standard prompt template.")
def echo_prompt(message: str) -> list[Message]:
- Register pre and post hooks in plugin config
- On prompt pre hook which modifies the prompt, args are not set correctly
Expected Behavior
Work correctly.
Additional Context
No response
Describe the bug
Prompt pre fetch and prompt post fetch plugins which changes the prompt is not working correctly
Steps To Reproduce
Expected Behavior
Work correctly.
Additional Context
No response