-
Notifications
You must be signed in to change notification settings - Fork 350
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
feat: agent supports dynamic instructions #1023
Conversation
Hi! Hmm interesting. Since my original proposal was rejected I resorted to creating a wrapper function. The wrapper does the following:
If I were to adopt this new way then I guess I need to transition from roles to agents (I actually liked writing instructions in markdown files, but I guess I can create a util if i would like to keep providing instructions for agents in a EDIT: Hmm, but agents still can't use shared tools right? Or can they use toolsets now? Don't see anything about it in the docs... EDIT 2: I just realized another limitation. By using my solution I can make the shell integration role a lot smarter and more reliable by increasing the context given. However, this new feature does only apply to agents as I understand it. Can we make it so that you can override the default shell integration with a |
No. Here are the reasons:
|
Thanks for pointing out the shared tools feature, I have been reading the docs but somehow didn't see it. Hmm, don't know really what
but I imagine that it still won't be able to provide the dynamic information I am after. I have to think about this. I would of course like to just your builtin feature rather than my home-made wrapper (but I have to admit really enjoyed just being able to put in arbitrary env vars in the markdown files, it felt very convenient. And I do feel it is very useful to have dynamic context available for the shell assistant). Hmm, wait - I guess I could just replace the shell integration to use my shell-agent and everything will be fine? PS. Hope you don't read my comments as criticism, I am just thinking out loud and sharing experiences. Thank you once again for this project. |
This PR implement agent dynamic instructions.
A jsonviewer agent at sigoden/llm-functions#134
close #1019