Replies: 2 comments 2 replies
-
@evalstate I've noticed there was an issue in mcp regarding this? You discussed it in #187, right? So the new release should fix it for me? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Ok, the latest release helped, it works. Now, to my real use case 🙂 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use sampling as part of my workflow. The workflow is kinda complicated but the simple example where I would have an fast agent client connected to MCP server (via HTTP streamable) - this I have working - that would call a tool that would call back the client with a sampling request (so far I have it working, I can see the incoming request in the debug log), then the client would call the LLM, probably with the Human in the loop accepting the prompt, then the response being sent back to the server tool and finally response from the tool would be sent back to the original client.
I thought all I need to do is:
And that's it. Am I missing something? It's not working, though. The agent looks like this:
and it hangs when it receives the sampling request.

I tried the same without the interactive() method, just directly send the message to the agent and the result was same. Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions