Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several important updates to dependencies, observability, and project configuration. The main highlights are the integration of Langfuse OpenTelemetry for improved tracing and diagnostics, upgrades to various package versions (notably OpenTelemetry and System.Text.Json), and the addition of a new plugin project. The changes also include enabling unsecured transport for development and some minor project configuration tweaks.
Observability and Diagnostics Improvements:
Integrated Langfuse OpenTelemetry exporter and related settings across the codebase for enhanced tracing, including new configuration in
Extensions.cs, a newLangfuseSettingsclass, and updates to the project file to include theLangfuse.OpenTelemetrypackage. Also enabled experimental GenAI diagnostics via AppContext switches. [1] [2] [3] [4] [5] [6] [7]Added a new
ActivityExtensionshelper class inBotSharp.Abstractionto standardize OpenTelemetry activity tagging and error reporting for model diagnostics.Dependency and Package Updates:
System.Text.Json(8.0.5 → 9.0.11),Microsoft.Extensions.AI.Abstractions, and most OpenTelemetry packages (1.8.x → 1.9.0), and added new packages such asLangfuse.OpenTelemetryandDeviceIdvariants. [1] [2] [3] [4] [5] [6]Project and Solution Configuration:
Added the new plugin project
BotSharp.Plugin.GiteeAIto the solution and configured its build settings. [1] [2] [3]Updated
launchSettings.jsonto allow unsecured transport in development environments by settingASPIRE_ALLOW_UNSECURED_TRANSPORT=true. [1] [2]Other Tweaks:
mcpServiceproject reference inProgram.cs, likely for development or build simplification.