Repository navigation
Replies: 4 comments 1 reply
|
Thanks, @JacobJans! Good suggestion. I imagine there is too much variance across providers, so rather than try to curate a list, we should probably just have an Advanced option that accepts a JSON blob. Are there other parameters that come to mind for you besides |
|
@JoeDo -- Hopefully my idea is helpful. Don't want to distract from the good work you're doing. In terms of customizations, most GUI harnesses seem to be moving towards easy interfaces for the "effort/reasoning" as well as "fast" for more spend and faster responses. So, effort would be the other use for this. I imagine those fields would be pretty stable for most models/providers, in case you want to add buttons for this in the chat interface. I know some models also allow you to specify the response format -- json/structured/etc, which is very useful for some workflows. For some use cases, it may be helpful to specify the "system" role and prompt as well as the user role and prompt.I think the right ways to do this might depend on who you're ideal user is. Hopefully this is helpful! Feel free to ignore. :) |
|
Added in Release 1.4.0. Thanks again, @JacobJans! Let us know if this works for you. |
Uh oh!
There was an error while loading. Please reload this page.
Please add a way for users to customize the JSON request body sent to model providers.
Many providers expose useful options that are not supported by a single API abstraction. Allowing users to add provider-specific JSON fields would make it possible to use features such as OpenRouter’s service tiers without requiring a Pizza Bot release for every new provider option.
One option would be to allow the user to set up a provider/model specific customized JSON request, based on the default. They could then give it a name that would show up in the model list in the normal chat interface.
I thought of this after wanting to get cheaper tokens by specifying the service_tier in OpenRouter, but realize now it may also have much broader applicability.
All reactions