Skip to content

Conversation

@nfcampos
Copy link
Contributor

@nfcampos nfcampos commented Oct 4, 2025

Brings functionality similar to Anthropic's context editing to all chat models
https://docs.claude.com/en/docs/build-with-claude/context-editing

@github-actions github-actions bot added langchain Related to the package `langchain` v1 Issue specific to LangChain 1.0 labels Oct 4, 2025
@nfcampos nfcampos force-pushed the nc/4oct/context-edit-middleware branch from a1fa223 to 8423b35 Compare October 4, 2025 12:59
@nfcampos nfcampos changed the title Implement Context Editing Middleware feat(langchain_v1) Implement Context Editing Middleware Oct 4, 2025
@nfcampos nfcampos changed the title feat(langchain_v1) Implement Context Editing Middleware feat(langchain_v1): Implement Context Editing Middleware Oct 4, 2025
@nfcampos nfcampos force-pushed the nc/4oct/context-edit-middleware branch from 253a9db to 021a5a5 Compare October 4, 2025 16:13
]


class ContextEdit(Protocol):
Copy link
Collaborator

Choose a reason for hiding this comment

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

nice i like that it's lifted to a protocol

@nfcampos nfcampos force-pushed the nc/4oct/context-edit-middleware branch 2 times, most recently from 612c4c2 to 5a4756b Compare October 4, 2025 16:18
@nfcampos nfcampos force-pushed the nc/4oct/context-edit-middleware branch from f8d417b to 2a96588 Compare October 4, 2025 17:25
Copy link
Collaborator

@sydney-runkle sydney-runkle left a comment

Choose a reason for hiding this comment

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

Cool, I like the extensibility of a protocol!

@sydney-runkle sydney-runkle enabled auto-merge (squash) October 6, 2025 14:22
@sydney-runkle sydney-runkle disabled auto-merge October 6, 2025 14:34
@sydney-runkle sydney-runkle merged commit f308139 into master Oct 6, 2025
36 checks passed
@sydney-runkle sydney-runkle deleted the nc/4oct/context-edit-middleware branch October 6, 2025 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature langchain Related to the package `langchain` v1 Issue specific to LangChain 1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants