Commit Graph

15 Commits

Author SHA1 Message Date
Zishan
0adf3729c2 remove useless code 2025-02-18 16:46:51 +01:00
Zishan
b3c5fb4d47 complete anthropic test 2025-02-18 14:54:09 +01:00
Zishan
d5de1f7d57 Merge branch 'main' into anthropic-implement 2025-02-17 15:11:41 +01:00
Hemang
df2c2fe821 For some users like OpenHands, it is not possible to pass in a custom header containing the Invariant API Key. In that case, modify the authorization header to include both the OpenAI API Key and the Invariant API Key. 2025-02-17 14:06:05 +01:00
Hemang
4890aa56a6 Add timeout to httpx.AsyncClient 2025-02-14 17:23:30 +01:00
Hemang
1a7cebbb52 Moves ignored_headers to constants and reformatted anthropic.py 2025-02-13 15:35:35 +01:00
Hemang
2789ec2b98 Use the AsyncClient from the sdk to push traces to Explorer. 2025-02-13 14:21:10 +01:00
Zishan
bdf2787786 remove cache file 2025-02-06 15:03:32 +01:00
Zishan
91fe3af840 Merge branch 'main' into anthropic-implement 2025-02-04 14:38:08 +01:00
Hemang
847a01db84 Refactor the code and add type hints. 2025-02-04 14:24:37 +01:00
Hemang
9c3937183e Add streaming support and change the explorer push call to be async. 2025-02-04 12:09:14 +01:00
Hemang
be934bc07c Add a TODO to switch usage to an async function to push traces via the SDK once that is available. 2025-01-31 16:03:10 +01:00
Hemang
e9a7d5d7d9 Fix failure where messages passed to push_trace API were not a list of list of dicts. 2025-01-30 16:04:12 +01:00
Hemang
06b334d29b Remove api_url as an arg from push_trace. 2025-01-30 15:50:53 +01:00
Hemang
16c1a0eeee Add explorer.py to push traces to explorer and cleanup code a bit. 2025-01-30 15:49:01 +01:00