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 摘要。