Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mili-tan committed Dec 26, 2024
1 parent 197b325 commit 19d49f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Onllama.Tiny/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public Form1()
//if (string.IsNullOrWhiteSpace(Environment.GetEnvironmentVariable("OLLAMA_NUM_PARALLEL", EnvironmentVariableTarget.User) ?? string.Empty))
// Environment.SetEnvironmentVariable("OLLAMA_NUM_PARALLEL", "6", EnvironmentVariableTarget.User);
});
IsRemote = string.IsNullOrWhiteSpace(Environment.GetEnvironmentVariable("OLLAMA_REMOTE_API"));
IsRemote = !string.IsNullOrWhiteSpace(Environment.GetEnvironmentVariable("OLLAMA_REMOTE_API"));
if (IsRemote)
{
OllamaUri = new Uri(Environment.GetEnvironmentVariable("OLLAMA_REMOTE_API") ?? OllamaUri.ToString());
Expand Down

0 comments on commit 19d49f0

Please sign in to comment.