You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was thinking of implementing a pi extension that calls tools directly, easier for testing/debugging. For example, if you type %%mytool then you get its output without having to ask a LLM to test extensions they haven't yet figured out. Maybe also have a %mytool mode that makes a message into their LLM context.
However, I don't think this is currently possible with the Extension API. Would it be possible to make a pi.getTool() that returns a data-structure with teeth (e.g. execute() available), or pi.runTool() that does the work in a more opaque way -- then the feature I have in mind can be done without many changes to the core.
Thanks for the awesome framework, it's inspiring. One of the biggest contributions to the field I've seen in many years!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I was thinking of implementing a pi extension that calls tools directly, easier for testing/debugging. For example, if you type %%mytool then you get its output without having to ask a LLM to test extensions they haven't yet figured out. Maybe also have a %mytool mode that makes a message into their LLM context.
However, I don't think this is currently possible with the Extension API. Would it be possible to make a pi.getTool() that returns a data-structure with teeth (e.g. execute() available), or pi.runTool() that does the work in a more opaque way -- then the feature I have in mind can be done without many changes to the core.
Thanks for the awesome framework, it's inspiring. One of the biggest contributions to the field I've seen in many years!
Beta Was this translation helpful? Give feedback.
All reactions