Skip to content

refactor: remove stale ManagedModel message management and AgentGraphResult type#170

Draft
jsonbailey wants to merge 1 commit intomainfrom
jb/aic-2388/cleanup-managed-layer
Draft

refactor: remove stale ManagedModel message management and AgentGraphResult type#170
jsonbailey wants to merge 1 commit intomainfrom
jb/aic-2388/cleanup-managed-layer

Conversation

@jsonbailey
Copy link
Copy Markdown
Contributor

Summary

  • Removes get_messages() and append_messages() from ManagedModel — conversation history is now managed entirely by the runner, not the managed layer
  • Removes the orphaned AgentGraphResult type, which was superseded by AgentGraphRunnerResult (output/LDAIMetricscontent/GraphMetrics) and has no remaining implementations or callers
  • Cleans up all import and __all__ references to AgentGraphResult across providers/types.py, providers/__init__.py, ldai/__init__.py, and tests

Test plan

  • Existing unit tests pass (pytest)
  • Confirm AgentGraphResult is no longer importable from ldai
  • Confirm ManagedModel no longer exposes get_messages or append_messages

🤖 Generated with Claude Code

…Result type

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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