Skip to content

Conversation

@geffzhang
Copy link

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 new LangfuseSettings class, and updates to the project file to include the Langfuse.OpenTelemetry package. Also enabled experimental GenAI diagnostics via AppContext switches. [1] [2] [3] [4] [5] [6] [7]

  • Added a new ActivityExtensions helper class in BotSharp.Abstraction to standardize OpenTelemetry activity tagging and error reporting for model diagnostics.

Dependency and Package Updates:

  • Upgraded several package versions, including 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 as Langfuse.OpenTelemetry and DeviceId variants. [1] [2] [3] [4] [5] [6]

Project and Solution Configuration:

  • Added the new plugin project BotSharp.Plugin.GiteeAI to the solution and configured its build settings. [1] [2] [3]

  • Updated launchSettings.json to allow unsecured transport in development environments by setting ASPIRE_ALLOW_UNSECURED_TRANSPORT=true. [1] [2]

Other Tweaks:

  • Commented out the mcpService project reference in Program.cs, likely for development or build simplification.

geffzhang and others added 12 commits October 9, 2025 06:42
System.Diagnostics combined with Microsoft.Extensions.Telemetry integrated into Langfuse via OpenTelemetry (OTEL)
Removed the BotSharp.Langfuse project and related files, migrating LangfuseSettings to BotSharp.ServiceDefaults. Added the BotSharp.Plugin.GiteeAI plugin with chat and embedding providers. Enhanced OpenTelemetry integration with Langfuse support and improved diagnostics tagging in core executors and controllers. Updated solution and project files to reflect these changes.
Replaces previous GPT-4.1 model entries with updated GPT-3.5-turbo and gpt-35-turbo-instruct configurations, including new endpoints, versioning, and cost structure. Sensitive API keys have been removed from the configuration.
Replaces previous GPT-4.1 model entries with updated GPT-3.5-turbo and gpt-35-turbo-instruct configurations, including new endpoints, versioning, and cost structure. Sensitive API keys have been removed from the configuration.
@geffzhang geffzhang merged commit 40a2301 into semantic-convention Nov 22, 2025
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.

2 participants