getsentry / getsentry/sentry-python

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

Ouverte
#5,972 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Python Refactoring Task
Langage dominant
Python
Étoiles
2.2k
Forks
669
Merge moyen
1 j 1 h
PR mergées (30 j)
213

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.