You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Calling Clone() on OllamaPromptExecutionSettings instance returns PromptExecutionSettings with Temperature, TopK, TopP and MaxTokens settings lost
To Reproduce
vartestSettings=newOllamaPromptExecutionSettings{Temperature=(float)temperature,TopP=(float)topP};// Throws `InvalidCastExeception` always as testSettings is of `PromptExecutionSettings` type. // Additionally, testSettings do not contain temperature or topP parameter values (nothing in ExtensionData either)varresult=(OllamaPromptExecutionSettings)testSettings.Clone();
Expected behavior
Object is cloned correctly like in OpenAI provider
Platform
Language: C#
Source: 1.65.0
AI model: Ollama qwen3:32b
IDE: Visual Studio
OS: Windows
Additional context
I think it should work like OpenAIPromptExecutionSettings, where all information is properly Cloned.