Skip to content

🐛 prompt pre fetch and prompt post fetch has not been tested #56

@julianstephen

Description

@julianstephen

Describe the bug

Prompt pre fetch and prompt post fetch plugins which changes the prompt is not working correctly

Steps To Reproduce

  1. 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]:
  2. Register pre and post hooks in plugin config
  3. On prompt pre hook which modifies the prompt, args are not set correctly

Expected Behavior

Work correctly.

Additional Context

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions