-
Notifications
You must be signed in to change notification settings - Fork 17
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
File generation with the run code tool #32
Comments
You're not doing anything wrong; the tool currently doesn't have this functionality that the function does. The rationale for having it this way in the tool was that the tool is for the LLM itself to use, so any generated files are irrelevant to the user. But it's true that there are use-cases where that rationale does not hold. So this is a valid feature request. |
Ah, I was basically using the tool in the same way as what someone would use the action button for. Like "Make me a QR code" and then have it output a QR code in the chat. |
Makes sense. I think it is a different and valid use-case, but not sure how to best support it. |
That would work, yes. I think it might even be better? There could also perhaps be some integration with the artifacts feature? Though not sure how much that applies or what it actually supports. |
Is your feature request related to a problem? Please describe.
The run code action seems to handle file generation perfectly. The run code tool does not. But there does seem to be some code in the tool to support this? Am I doing something wrong?
Describe the solution you'd like
When the run code tool runs, it generates files the same way as the action.
Describe alternatives you've considered
Using the action, which works.
The text was updated successfully, but these errors were encountered: