Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

cline with anthropic is broken on main #1207

@jhrozek

Description

@jhrozek

I'm getting a traceback in the logs:

2025-03-04T13:34:41.472236Z [info     ] Chat completion pipeline selected for execution. lineno=187 module=base pathname=/Users/jakub/devel/codegate/src/codegate/providers/base.py
  File "/Users/jakub/devel/codegate/src/codegate/pipeline/secrets/secrets.py", line 307, in process
    redacted_content, secrets_matched = self._redact_message_content(
                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/jakub/devel/codegate/src/codegate/pipeline/secrets/secrets.py", line 319, in _redact_message_content
    snippets = extractor.extract_snippets(message_content)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/jakub/devel/codegate/src/codegate/extract_snippets/message_extractor.py", line 285, in extract_snippets
    for match in regex.finditer(message)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions