diff --git a/examples/pipelines/providers/anthropic_manifold_pipeline.py b/examples/pipelines/providers/anthropic_manifold_pipeline.py index 1cfcb146..34965e8b 100644 --- a/examples/pipelines/providers/anthropic_manifold_pipeline.py +++ b/examples/pipelines/providers/anthropic_manifold_pipeline.py @@ -63,6 +63,13 @@ def pipe( self, user_message: str, model_id: str, messages: List[dict], body: dict ) -> Union[str, Generator, Iterator]: try: + if "user" in body: + del body["user"] + if "chat_id" in body: + del body["chat_id"] + if "title" in body: + del body["title"] + if body.get("stream", False): return self.stream_response(model_id, messages, body) else: