braintrust 0.3.14__py3-none-any.whl → 0.3.15__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,11 +15,10 @@ except ImportError:
15
15
  from pydantic_ai.models.openai import OpenAIModel # pylint: disable=import-error
16
16
 
17
17
  OpenAIModelClass = OpenAIModel
18
- from pydantic_ai.providers.openai import OpenAIProvider # pylint: disable=import-error
19
-
20
18
  from braintrust import logger, wrap_openai
21
19
  from braintrust.span_types import SpanTypeAttribute
22
20
  from braintrust.test_helpers import init_test_logger
21
+ from pydantic_ai.providers.openai import OpenAIProvider # pylint: disable=import-error
23
22
 
24
23
  PROJECT_NAME = "test-pydantic-ai"
25
24
  MODEL = "gpt-3.5-turbo" # Use a cheaper model for testing
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: braintrust
3
- Version: 0.3.14
3
+ Version: 0.3.15
4
4
  Summary: SDK for integrating Braintrust
5
5
  Home-page: https://www.braintrust.dev
6
6
  Author: Braintrust
@@ -1,14 +1,14 @@
1
- braintrust/__init__.py,sha256=-NLWOaTdzVtQFu2TA0qYULbxP4pAdVdgqzZWosqL2eI,2092
2
- braintrust/_generated_types.py,sha256=X5UGdtWp9vnoyUd4PyY74xjWIoNRVqiqWHNpYd-v0to,80911
1
+ braintrust/__init__.py,sha256=sw6dLIINeyUVP4IbF49wqXv2cyAWEoO3SGSIvCb_b2o,2238
2
+ braintrust/_generated_types.py,sha256=KjVWSAPwPKbpVMobs24u7O3GRxJhRBpZiVAm3vrcsK8,93555
3
3
  braintrust/audit.py,sha256=Na3LJhpHj8Nd1az41HMQLLbHeWQkDZIOYHLLmVZdAdQ,467
4
4
  braintrust/aws.py,sha256=OBz_SRyopgpCDSNvETLypzGwTXk-bNLn-Eisevnjfwo,377
5
5
  braintrust/bt_json.py,sha256=f2AkpVxT2LY3PZliJn-jH_1Qd9nujnSJcFronTdlsBE,3650
6
- braintrust/conftest.py,sha256=EZi9aU9g8O6XWwPP6EMv5OcDLkVwI5he_TTGM4jCMlQ,1598
6
+ braintrust/conftest.py,sha256=hopKH5M5ts7DXlvRD_P2b94uXTT7vPKNhBWUdoIetL8,1681
7
7
  braintrust/context.py,sha256=ZXIOc3zXIXOzAopkuPIM9tq2prfsTjH0-e_FEEFTTJI,4235
8
8
  braintrust/db_fields.py,sha256=DBGFhfu9B3aLQI6cU6P2WGrdfCIs8AzDFRQEUBt9NCw,439
9
9
  braintrust/framework.py,sha256=Uf2DogzQG4suCcmABeQzc-5SWCO5tB2ic1OeQFZo_o4,57618
10
10
  braintrust/framework2.py,sha256=DTnCql0_Be9kYZ7QkgJHEUAW4_tU-vuqni3vxdCcnyk,16784
11
- braintrust/generated_types.py,sha256=StMC58Mg_Imc4Z-xpLzqZql2E5K14b92FAnxj0aOrtw,4521
11
+ braintrust/generated_types.py,sha256=Gdjl7-o26YNqTyjlnzzLTRspHC8ZIaOkZwF2Y8jXPsY,4787
12
12
  braintrust/git_fields.py,sha256=oT1h1nVkidGrIIamtIQfOpbuEzd1n-nup9bx54J_u0A,1480
13
13
  braintrust/gitutil.py,sha256=01hCZG291992Knj9q1gOjb42XvfzruMm5yeA68FufAw,5676
14
14
  braintrust/graph_util.py,sha256=lABIOMzxHf6E5LfDYfqa4OUR4uaW7xgUYNq5WGewD4w,5594
@@ -16,7 +16,7 @@ braintrust/http_headers.py,sha256=9ZsDcsAKG04SGowsgchZktD6rG_oSTKWa8QyGUPA4xE,15
16
16
  braintrust/id_gen.py,sha256=PVkz-pS-9AzgmnAgpV-jgOFFo4hfl6e3IP9dVt6FouQ,1595
17
17
  braintrust/logger.py,sha256=Pesk94By7gPiVLoqA7NJjlLq4XslP7EmioRrusjVd6c,210576
18
18
  braintrust/merge_row_batch.py,sha256=NX4jRE9uuFB3Z7btrarQp_di84_NGTjvzpJhksn82W8,9882
19
- braintrust/oai.py,sha256=DW_i6bXXDprwZ_uwcdIE25MUxx5y5DDdqr0ucdIWP9I,33187
19
+ braintrust/oai.py,sha256=dr7c1vm54ricuTrZfbF1bXfHciJnjUDW-K_EyqlZKc8,36303
20
20
  braintrust/object.py,sha256=vYLyYWncsqLD00zffZUJwGTSkcJF9IIXmgIzrx3Np5c,632
21
21
  braintrust/parameters.py,sha256=E1NJGJZ4Qjhp2h4Rghrh4qdE0FiaXLGPapS_iAk8es8,5946
22
22
  braintrust/prompt.py,sha256=c7UR-UeJ8Hf-DGyFRyUxSgXEOkZFhVd9-IhvyPhy1xI,1938
@@ -43,7 +43,7 @@ braintrust/test_span_components.py,sha256=UnF6ZL4k41XZ-CnfbjuqLeK4MZLtHTMdID3CMh
43
43
  braintrust/test_util.py,sha256=gyqe2JspRP7oXlp6ENztZe2fdRTOEMZMKpQi00y1DSc,4538
44
44
  braintrust/test_version.py,sha256=hk5JKjEFbNJ_ONc1VEkqHquflzre34RpFhCEYLTK8iA,1051
45
45
  braintrust/util.py,sha256=Ec6sRkQw5BckGrFjdA4YTyu_2BaKmHh4tWDwAi_ysOw,7227
46
- braintrust/version.py,sha256=3wAzsDK5T1yqm2oCx82UysM0PDJBVh8gI90sxUVKfQg,118
46
+ braintrust/version.py,sha256=W7VpEGqwXbRPRYCdJG7RW1HBGYQPQaUQMgv7kRRYS6E,118
47
47
  braintrust/xact_ids.py,sha256=bdyp88HjlyIkglgLSqYlCYscdSH6EWVyE14sR90Xl1s,658
48
48
  braintrust/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
49
49
  braintrust/cli/__main__.py,sha256=wCBKHGVmn3IT_yMXk5qfDwyI2SV2gf1tLr0NTxm9T8k,1519
@@ -71,7 +71,7 @@ braintrust/devserver/test_lru_cache.py,sha256=5YYJ5uFj7k4Z4PQQ-UOV7bLP5zBYVo-5jV
71
71
  braintrust/devserver/test_server_integration.py,sha256=ygIYDsTCSqwa_rzQDtdX0mjkXQVy7qyJjntdoCgtjKM,6711
72
72
  braintrust/functions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
73
73
  braintrust/functions/constants.py,sha256=g_EDiSrfCltHr5QaQMQzJ3qy3D29X-11LanDqlicqB0,23
74
- braintrust/functions/invoke.py,sha256=IGs_Zz3UbuKJqpg7O1sVcVIOGTD7QfcTXN2Ep83CqUY,8651
74
+ braintrust/functions/invoke.py,sha256=fKho8cHpV6KECp5jUzrjdj4sPBBOr9s78BuoxqX5BTA,9911
75
75
  braintrust/functions/stream.py,sha256=-c2q1dP0Kk2W_RKECjZJ3-t9ivTjZhC8jSBxLNX23Ik,6088
76
76
  braintrust/otel/__init__.py,sha256=h3vGw9vaCHDJpmvXyrL923lN4gnhReTCfWavfCLWt_g,23743
77
77
  braintrust/otel/context.py,sha256=FZQJ4IEWEexIoZYrNzoLpE_txvETnsf0fDd3XkiWtDo,4823
@@ -91,14 +91,17 @@ braintrust/wrappers/dspy.py,sha256=5NPVNRXLPUi4gXxgVyrhsZm6dB9yG4T4kErLuOs3p1A,1
91
91
  braintrust/wrappers/langchain.py,sha256=-yStNscKz1RecKZoTHT0XGtwgD3KkYZcVPeSuddR0pc,5106
92
92
  braintrust/wrappers/litellm.py,sha256=qqOxNmBgq1KrTJeWQoojvfdvFgEDiZjf5kLZoJ0m63g,24947
93
93
  braintrust/wrappers/openai.py,sha256=JRyokeMLyoAXSeKJRNLI6baWuo6uNqf5rzVnjlHe9X0,10609
94
+ braintrust/wrappers/pydantic_ai.py,sha256=SZjD6B37Pu_FRuCA-W7KKGU_CdESFIWcPEEKvJHjel4,44057
94
95
  braintrust/wrappers/test_agno.py,sha256=A4dd45nIkcy-7xZOdDAEbMejGgwSyMc6mnrHIRTcOcA,3669
95
96
  braintrust/wrappers/test_anthropic.py,sha256=tSHAnroaLK1QYhLhhPFAxSDEJUybzffp2o4IptDZRAU,15554
96
97
  braintrust/wrappers/test_dspy.py,sha256=x5vXu-NoFFjWGIcvFvXICVsDasQEQzPuSlxgzbHJcwo,1953
97
98
  braintrust/wrappers/test_google_genai.py,sha256=20e4DqLUZmcpVGircj7vN0IxsS5FVjvveqOu0JNZ5jo,17596
98
99
  braintrust/wrappers/test_litellm.py,sha256=sNId6qnbQibT66aB_lsxX_HlaPF6GoMFaawgnF1A2a4,21428
100
+ braintrust/wrappers/test_oai_attachments.py,sha256=9UXaXXXzZMLi_Q97QyV2uEtpuTy6BYL6I4olyFfEJ04,11273
99
101
  braintrust/wrappers/test_openai.py,sha256=UqKtoIlZlqiLC6x7Rbv9zROgDdE5zvXZObbFMKpmifw,60237
100
102
  braintrust/wrappers/test_openrouter.py,sha256=9wIYuwObFkADH8h5pzHFB4C9TcL_HTeq1KlODYhSMLs,3987
101
- braintrust/wrappers/test_pydantic_ai.py,sha256=uqWbk1D8iX3q9qh_Q8PkopNUfPQCBCvOSa4KkpuIqqE,5057
103
+ braintrust/wrappers/test_pydantic_ai_integration.py,sha256=M60jFulGGblFfDnFkobfphvkbTATpnfB3VxfonQ5aR4,71802
104
+ braintrust/wrappers/test_pydantic_ai_wrap_openai.py,sha256=cxj6uQaObhQ97-mEjN2OStpL4swlWhaln3n2zpIEA_I,5056
102
105
  braintrust/wrappers/test_utils.py,sha256=Qz7LYG5V0DK2KuTJ_YLGpO_Zr_LJFfJgZX_Ps8tlM_c,505
103
106
  braintrust/wrappers/agno/__init__.py,sha256=V0dnEhu2U0FabyEmwDbWv5x6rP1rdI8z9JLAB_8XuXk,2416
104
107
  braintrust/wrappers/agno/agent.py,sha256=WjqtiWt8mRAH5JiZNjWT_EG25A04FC3rRj20D0Xg_kc,6474
@@ -110,8 +113,8 @@ braintrust/wrappers/claude_agent_sdk/__init__.py,sha256=CSXJWy-z2fHF7h4VJjLSnXJv
110
113
  braintrust/wrappers/claude_agent_sdk/_wrapper.py,sha256=uzElIOwwPmF_Y5fbWcKWEPC8HnSzW7byzpiuVKK0TXE,15613
111
114
  braintrust/wrappers/claude_agent_sdk/test_wrapper.py,sha256=0NmohdECudFvWtc-5PbANtTXzexkkwIJhGbujydDrT8,6826
112
115
  braintrust/wrappers/google_genai/__init__.py,sha256=PGFMuR3c4Gc3SUt24eP7z5AzdS2Dc1uF1d3QPCnLnuo,16018
113
- braintrust-0.3.14.dist-info/METADATA,sha256=9ibXkb190ZtT4_UgxlPjgU4y6eKJI_Y6h0eyrzm9oEs,3702
114
- braintrust-0.3.14.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
115
- braintrust-0.3.14.dist-info/entry_points.txt,sha256=Zpc0_09g5xm8as5jHqqFq7fhwO0xHSNct_TrEMONS7Q,60
116
- braintrust-0.3.14.dist-info/top_level.txt,sha256=hw1-y-UFMf60RzAr8x_eM7SThbIuWfQsQIbVvqSF83A,11
117
- braintrust-0.3.14.dist-info/RECORD,,
116
+ braintrust-0.3.15.dist-info/METADATA,sha256=t8wUMpwwpSacNL0H7pP6e5YyPMSs85-mNAZak33NnQo,3702
117
+ braintrust-0.3.15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
118
+ braintrust-0.3.15.dist-info/entry_points.txt,sha256=Zpc0_09g5xm8as5jHqqFq7fhwO0xHSNct_TrEMONS7Q,60
119
+ braintrust-0.3.15.dist-info/top_level.txt,sha256=hw1-y-UFMf60RzAr8x_eM7SThbIuWfQsQIbVvqSF83A,11
120
+ braintrust-0.3.15.dist-info/RECORD,,