Formatting

This commit is contained in:
Thorsten Sommer 2025-11-13 17:21:49 +01:00
parent 9a6d97f385
commit d08883d3b8
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -55,7 +55,7 @@ public sealed class ProviderAnthropic() : BaseProvider("https://api.anthropic.co
}).ToList()],
System = chatThread.PrepareSystemPrompt(settingsManager, chatThread),
MaxTokens = apiParameters.TryGetValue("max_tokens", out var value) && value is int intValue ? intValue : 4096,
MaxTokens = apiParameters.TryGetValue("max_tokens", out var value) && value is int intValue ? intValue : 4_096,
// Right now, we only support streaming completions:
Stream = true,