1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-29 22:27:42 +02:00
Files
OpenIntegrations/docs/en/examples/Ollama/GetVersion.txt
Vitaly the Alpaca (bot) 1120c732f0 Main build (Jenkins)
2025-10-20 19:41:52 +03:00

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);