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
The headers field of the Ollama constructor function options (AKA Config in interfaces.ts) is completely ignored in this constructor code, and thus, it is not taken into account when performing fetch from other methods. It probably should be stored in this.config.headers.
This makes, for example, impossible to manually specify any Authorization custom header when performing our /api/generate loved requests :(
The text was updated successfully, but these errors were encountered:
The
headers
field of the Ollama constructor function options (AKAConfig
in interfaces.ts) is completely ignored in this constructor code, and thus, it is not taken into account when performingfetch
from other methods. It probably should be stored inthis.config.headers
.This makes, for example, impossible to manually specify any Authorization custom header when performing our
/api/generate
loved requests :(The text was updated successfully, but these errors were encountered: