1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00
Files
OpenIntegrations/docs/en/examples/Ollama/PushModel.txt

10 lines
353 B
Plaintext
Raw Normal View History

2025-06-29 14:35:33 +03:00
 URL = "https://hut.openintegrations.dev/ollama";
Token = "12We34..."; // Authorization - not part API Ollama
2025-04-14 10:07:56 +03:00
Model = "bayselonarrend/tinyllama:latest";
AdditionalHeaders = New Map;
AdditionalHeaders.Insert("Authorization", StrTemplate("Bearer %1", Token));
Result = OPI_Ollama.PushModel(URL, Model, , AdditionalHeaders);