You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
8 lines
311 B
Plaintext
Vendored
8 lines
311 B
Plaintext
Vendored
URL = FunctionParameters["Ollama_URL"];
|
|
Token = FunctionParameters["Ollama_Token"]; // Authorization - not part API Ollama
|
|
|
|
AdditionalHeaders = New Map;
|
|
AdditionalHeaders.Insert("Authorization", StrTemplate("Bearer %1", Token));
|
|
|
|
Result = OPI_Ollama.GetVersion(URL, AdditionalHeaders);
|