getsentry / getsentry/sentry-python

Refactor logic such that all AI message handling is provider-dependent

Offen
#5,972 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Python Refactoring Task
Vorherrschende Sprache
Python
Sterne
2.2k
Forks
669
Ø Merge
1 T. 1 Std.
Gemergte PRs (30 T.)
213

Beschreibung

Due to subtleties in each provider, this leads to fragile, difficult to understand code that has led to strange edge case behaviour for our users.

We need to move towards having all message handling be provider-dependent in order to make it easier for us to maintain and extend these integrations going forward.

Example:

* `truncate_and_annotate_messages`
* Message truncation will eventually be going away so when that happens, it'll be a good opportunity to deal with this function

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.