Skip to content

Tool calling & openai fix#9

Merged
skypaint-96 merged 3 commits into
masterfrom
FixopenAI
Aug 13, 2025
Merged

Tool calling & openai fix#9
skypaint-96 merged 3 commits into
masterfrom
FixopenAI

Conversation

@skypaint-96

Copy link
Copy Markdown
Owner

PR Classification

New feature and configuration improvements.

PR Summary

This pull request introduces enhancements to the AI service configuration management and responder selection logic, along with the addition of new tools and validation mechanisms. Key changes include:

  • ChatUI.cs: Updated responder selection logic to always show configuration dialogs for configurable responders.
  • Program.cs: Modified responder registration to apply loaded configurations post-registration.
  • AIServiceConfiguration.cs: Allowed optional custom configuration file paths and initialized configurations with empty values.
  • ConfigurationValidator.cs: Added a utility class to validate AI service configurations.
  • ConfigurationLoadingTests.cs: Introduced unit tests to verify loading and default creation of AI service configurations.

This commit upgrades several Microsoft Semantic Kernel packages to version 1.62.0 and introduces new packages, including `Microsoft.SemanticKernel.Plugins.OpenApi`. It also refactors the `ShowResponderParamsDialog` method in `ChatUI.cs` for improved configuration handling and adds a new `Tools` section in `ai_services_config.json` for better tool management. Additionally, new interfaces and classes have been created in the `Jasmine.Core.Tools` namespace to facilitate the registration and discovery of tools from various sources, enhancing the overall modularity and maintainability of the codebase.
Updated the `CreatePromptExecutionSettings` method in `OllamaResponder.cs` to include the `FunctionChoiceBehavior` property set to `FunctionChoiceBehavior.Auto()`, improving the configuration options for `OllamaPromptExecutionSettings`. Additionally, introduced a new `DebugPlugin` class in `DebugPlugin.cs`, featuring an `EchoJson` method that facilitates debugging by returning the input payload as a JSON string, thereby enhancing the kernel's debugging capabilities.
@skypaint-96 skypaint-96 merged commit a17d605 into master Aug 13, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant