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/CopyModel.txt
Vitaly the Alpaca (bot) 43ecdb9b78 Main build (Jenkins)
2025-05-01 23:28:11 +03:00

11 lines
351 B
Plaintext
Vendored

URL = "https://api.athenaeum.digital/ollama";
Token = "10KO-82..."; // Authorization - not part API Ollama
Model = "mario";
Name = "mario2";
AdditionalHeaders = New Map;
AdditionalHeaders.Insert("Authorization", StrTemplate("Bearer %1", Token));
Result = OPI_Ollama.CopyModel(URL, Model, Name, AdditionalHeaders);