Skip to content

refactor: remove deprecated result types and compat shims#157

Draft
jsonbailey wants to merge 1 commit intojb/aic-2388/langchain-runner-protocolfrom
jb/aic-2388/remove-deprecated-types
Draft

refactor: remove deprecated result types and compat shims#157
jsonbailey wants to merge 1 commit intojb/aic-2388/langchain-runner-protocolfrom
jb/aic-2388/remove-deprecated-types

Conversation

@jsonbailey
Copy link
Copy Markdown
Contributor

Removes the deprecated result types (ModelResponse, StructuredResponse, AgentResult) and associated compat shims now that all runner implementations have migrated to the Runner protocol.

Stacked on #150 (LangChain runner migration).

Changes

  • Remove ModelResponse, StructuredResponse, AgentResult from providers/types.py
  • Remove ModelRunner-related compat from managed_model.py and managed_agent.py
  • Simplify ai_provider.py and model_runner.py
  • Update exports and tests

🤖 Generated with Claude Code

@jsonbailey jsonbailey force-pushed the jb/aic-2388/langchain-runner-protocol branch from 9c0003c to 1aa1069 Compare April 29, 2026 16:49
@jsonbailey jsonbailey force-pushed the jb/aic-2388/remove-deprecated-types branch from 4966c51 to 1b3a1ba Compare April 29, 2026 16:49
@jsonbailey jsonbailey force-pushed the jb/aic-2388/langchain-runner-protocol branch from 1aa1069 to f811cf8 Compare April 29, 2026 17:13
@jsonbailey jsonbailey force-pushed the jb/aic-2388/remove-deprecated-types branch from 1b3a1ba to cd04edb Compare April 29, 2026 17:13
@jsonbailey jsonbailey force-pushed the jb/aic-2388/langchain-runner-protocol branch from f811cf8 to e56ea8f Compare April 29, 2026 17:15
@jsonbailey jsonbailey force-pushed the jb/aic-2388/remove-deprecated-types branch from cd04edb to de96fcd Compare April 29, 2026 17:15
@jsonbailey jsonbailey force-pushed the jb/aic-2388/langchain-runner-protocol branch from e56ea8f to 4e0b78d Compare April 29, 2026 17:18
@jsonbailey jsonbailey force-pushed the jb/aic-2388/remove-deprecated-types branch from de96fcd to 33bcaa7 Compare April 29, 2026 17:18
@jsonbailey jsonbailey force-pushed the jb/aic-2388/langchain-runner-protocol branch from 4e0b78d to c1c2c8c Compare April 29, 2026 17:37
@jsonbailey jsonbailey force-pushed the jb/aic-2388/remove-deprecated-types branch from 33bcaa7 to bccb5bc Compare April 29, 2026 17:39
@jsonbailey jsonbailey force-pushed the jb/aic-2388/langchain-runner-protocol branch from c1c2c8c to a233c2f Compare April 29, 2026 17:59
@jsonbailey jsonbailey force-pushed the jb/aic-2388/remove-deprecated-types branch from bccb5bc to c2d054f Compare April 29, 2026 17:59
@jsonbailey jsonbailey force-pushed the jb/aic-2388/langchain-runner-protocol branch from a233c2f to a770b1f Compare April 29, 2026 21:07
@jsonbailey jsonbailey force-pushed the jb/aic-2388/remove-deprecated-types branch from c2d054f to c083c3d Compare April 29, 2026 21:08
@jsonbailey jsonbailey force-pushed the jb/aic-2388/langchain-runner-protocol branch from a770b1f to 069c0ee Compare April 29, 2026 21:13
@jsonbailey jsonbailey force-pushed the jb/aic-2388/remove-deprecated-types branch from c083c3d to f0c6494 Compare April 29, 2026 21:14
@jsonbailey jsonbailey force-pushed the jb/aic-2388/langchain-runner-protocol branch from 069c0ee to 1c0255f Compare April 29, 2026 21:56
@jsonbailey jsonbailey force-pushed the jb/aic-2388/remove-deprecated-types branch from f0c6494 to 769815c Compare April 29, 2026 21:56
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