Skip to content

Commit

Permalink
additional break added
Browse files Browse the repository at this point in the history
  • Loading branch information
Puchaczov committed Jan 20, 2025
1 parent 4f2e694 commit 220f10d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/MicrosoftAi/AbstractionMapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public static ChatRequest ToOllamaSharpChatRequest(IList<ChatMessage> chatMessag
};

if (!(options?.AdditionalProperties?.Any() ?? false)) return request;

TryAddOllamaOption<bool?>(options, OllamaOption.F16kv, v => request.Options.F16kv = (bool?)v);
TryAddOllamaOption<float?>(options, OllamaOption.FrequencyPenalty, v => request.Options.FrequencyPenalty = (float?)v);
TryAddOllamaOption<bool?>(options, OllamaOption.LogitsAll, v => request.Options.LogitsAll = (bool?)v);
Expand Down

0 comments on commit 220f10d

Please sign in to comment.