hashbrown

HashbrownProviderOptions

The options for the Hashbrown provider.

API

emulateStructuredOutput
boolean

Whether to emulate structured output. Useful for models that don't support tool calling with structured outputs enabled. When set to true, Hashbrown silently adds an "output" tool to the the list of tools the model can call, and then handles the arguments to the tool call as if the model has produced it via structured outputs.

middleware
Array<(request: RequestInit) => RequestInit | Promise<RequestInit>>

The headers to send with the POST request to the Hashbrown endpoint.

transport
TransportOrFactory

Optional transport override applied to all descendant hooks.

url
string

The URL of the Hashbrown server endpoint.