Skip to content

Revert "Updated Claude Python to use A365 oservability SDK and MCP tooling" - #183

Merged
Johan Broberg (pontemonti) merged 1 commit into
mainfrom
revert-148-JoanBency/claude-python
Jan 23, 2026
Merged

Johan Broberg (pontemonti) merged 1 commit into
mainfrom
revert-148-JoanBency/claude-python

Conversation

@pontemonti

@pontemonti Johan Broberg (pontemonti) commented Jan 23, 2026 •

Copy link
Copy Markdown
Contributor

Reverts #148

This broke the build.

image

@pontemonti
Johan Broberg (pontemonti) requested a review from a team as a code owner January 23, 2026 16:27
Copilot AI review requested due to automatic review settings January 23, 2026 16:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR reverts changes from #148 that broke the build by undoing modifications to the Claude Python sample agent related to observability SDK and MCP tooling integration.

Changes:

  • Reverted observability configuration from module-level singleton to inline configuration in host
  • Removed observability_config.py module and added observability_helpers.py utility module
  • Simplified authentication by removing auth_handler_name parameter from agent methods
  • Made observability features optional with try-except import guards
  • Updated dependencies in pyproject.toml to restore working package versions

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
pyproject.toml Reverted dependency changes, restored working package versions and removed problematic dependencies
observability_helpers.py Added new utility module for creating observability objects (replaces removed observability_config.py)
observability_config.py Removed module-level observability configuration that caused initialization issues
host_agent_server.py Simplified authentication handling, moved observability config inline, made observability optional
agent.py Made observability imports optional, simplified message processing, removed auth_handler_name parameter
.env.template Updated configuration comments to reflect simplified authentication model

Comment thread python/claude/sample-agent/agent.py
Comment thread python/claude/sample-agent/agent.py
Comment thread python/claude/sample-agent/agent.py
Comment thread python/claude/sample-agent/agent.py
Comment thread python/claude/sample-agent/agent.py
@pontemonti
Johan Broberg (pontemonti) merged commit 5994c67 into main Jan 23, 2026
13 checks passed
@pontemonti
Johan Broberg (pontemonti) deleted the revert-148-JoanBency/claude-python branch January 23, 2026 19:54
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.

4 participants