-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Response When Using gptel-make-tool
with Zero Arguments
#688
Comments
Hi there, One question remaining is that somehow I don't see any activity log on OpenRouter when choosing anthropic/claude-3.7-sonnet and anthropic/claude-3.5-sonnet. I did the same thing with gemini flash 2.0 and gpt-4o which are recorded there. Thanks! |
Could be gptel+OpenAI specific. Does the no-args tool work with
I don't use OpenRouter so I don't know what you mean, sorry. |
Thank you for your response, @karthink! I appreciate your engagement with my issue and want to express my gratitude for the gptel package; it's truly a fantastic tool. I have conducted further investigation into the issues I encountered:
Interestingly, when testing the
It appears that even when a name was provided, the tool couldn't respond as intended due to the lack of a tool that accepts name parameters. In summary, the looping issue seems specific to the OpenRouter's Thank you again for your assistance! |
Description
I'm trying to create a simple tool with
gptel-make-tool
that takes no arguments, but I'm not getting any response when attempting to use it. When I try a similar tool that takes arguments, it works fine.Environment
Reproduction Steps
Expected Behavior
The tool without arguments should respond with "Hello World!" when invoked.
Actual Behavior
When trying to use the zero-argument tool, there's no response. The OpenRouter Activity page shows no activity either, suggesting the request isn't being sent or is being rejected.
Additional Information
I suspect there might be an issue with the
:args nil
setting, as the only difference between the working and non-working tools is the argument handling.Any guidance would be appreciated.
Additional context
Emacs version: GNU Emacs 30.1 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.65 Version 12.7.6 (Build 21H1320)) of 2025-02-24
Operating system: MacOS sequoia 15.3.1
The text was updated successfully, but these errors were encountered: