getsentry / getsentry/sentry-python

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

未关闭
#5,972 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Python Refactoring Task
主要语言
Python
星标
2.2k
派生
669
平均合并
1 天 1 小时
30 天内合并 PR
213

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。