Maxiboy441 / PixelPrime

This is our 3rd project as Software developers at the ITS Stuttgart
http://pixelprime.maxih.de
MIT License
2 stars 1 forks source link

Rebuild Ai Request #150

Closed Maxiboy441 closed 2 months ago

Maxiboy441 commented 2 months ago

Rebuild the request so its like in the following issue

https://github.com/open-webui/open-webui/discussions/1349 or http://api.webai.maxih.de/api/v1/docs

to the endpoint api.webai.maxih.de/ollama/api/generate

uses model "movie-critic"

From the auth token of the API User as berear

Dont commit the token, make it a appenv

Maxiboy441 commented 2 months ago
        _client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", "TOKEN");