Zishan
|
931504975f
|
correct anthropic header key
|
2025-02-19 14:10:12 +01:00 |
|
Zishan
|
0adf3729c2
|
remove useless code
|
2025-02-18 16:46:51 +01:00 |
|
Zishan
|
8fa4beb3b3
|
remove -it from run.sh
|
2025-02-18 16:18:44 +01:00 |
|
Zishan
|
fd0dd4c69e
|
add another way for authorization
|
2025-02-18 16:12:14 +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 |
|
Zishan
|
3c0637b946
|
organize anthropic test
|
2025-02-17 15:09:03 +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 |
|
Hemang
|
d7bcfde393
|
Remove response_headers.pop(...) in handle_non_streaming_response.
|
2025-02-13 14:07:17 +01:00 |
|
Zishan
|
768e655947
|
adjust pytest
|
2025-02-12 17:32:10 +01:00 |
|
Zishan
|
86895c61ce
|
add anthropic api key and remove tavily use
|
2025-02-12 14:40:57 +01:00 |
|
Zishan
|
a02091edcb
|
format change
|
2025-02-12 11:41:16 +01:00 |
|
Zishan
|
8e1f916b28
|
Merge branch 'main' into anthropic-implement
|
2025-02-11 15:39:54 +01:00 |
|
Zishan
|
b832ca2cf1
|
add handle streming response for anthropic
|
2025-02-11 15:39:22 +01:00 |
|
Hemang
|
ba26d7d0c7
|
Use finish_turn to decide when to push trace to the explorer dataset for openai.
|
2025-02-10 13:45:34 +01:00 |
|
zishan-wei
|
f5ddbb25d5
|
Implement Anthropic proxy
Anthropic implement
|
2025-02-07 10:39:03 +01:00 |
|
Zishan
|
87fc58e4de
|
minor logic fix
|
2025-02-07 10:16:16 +01:00 |
|
Hemang
|
7c692fa6df
|
Add a health check endpoint for proxy.
|
2025-02-06 15:06:26 +01:00 |
|
Zishan
|
bdf2787786
|
remove cache file
|
2025-02-06 15:03:32 +01:00 |
|
Zishan
|
bb81066356
|
rename anthropic test
|
2025-02-06 14:57:40 +01:00 |
|
Zishan
|
f2ffed91d3
|
add test for anthropic agent
|
2025-02-06 14:46:04 +01:00 |
|
Zishan
|
2f2253220e
|
add test claude agent
|
2025-02-05 15:49:11 +01:00 |
|
Zishan
|
075cf366de
|
Merge branch 'main' into anthropic-implement
|
2025-02-05 15:37:45 +01:00 |
|
Zishan
|
ff80bf462c
|
add anthropic policy
|
2025-02-05 15:36:52 +01:00 |
|
Hemang
|
c1f6eb2ef3
|
Add route for auto-generated docs.
|
2025-02-04 16:14:57 +01:00 |
|
Zishan
|
91fe3af840
|
Merge branch 'main' into anthropic-implement
|
2025-02-04 14:38:08 +01:00 |
|
Zishan
|
eab4959cee
|
init anthropic policy
|
2025-02-04 14:35:25 +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
|
76644778a1
|
Remove custom compression and rely on starlette_compress to perform the compression as a middleware.
|
2025-01-31 16:00:31 +01:00 |
|
Hemang Sarkar
|
099bc05d8d
|
Update open_ai.py
|
2025-01-31 15:24:28 +01:00 |
|
Hemang
|
9888068850
|
Update comments and rename files. Add anthropic.py for Anthropic API proxy.
|
2025-01-30 16:34:37 +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 |
|
Hemang
|
7a6cf60b64
|
Add integration to push traces to Invariant Explorer.
|
2025-01-30 15:37:14 +01:00 |
|
Hemang
|
e41f3e93f4
|
Integrate with OpenAI to make proxy calls.
|
2025-01-30 14:32:09 +01:00 |
|
Hemang
|
3feb2ce956
|
Add multiple openai endpoints with the same proxy API.
|
2025-01-30 13:24:53 +01:00 |
|
Hemang
|
023ffef81f
|
Add a check to verify Invariant-Authorization header is present.
|
2025-01-30 10:34:47 +01:00 |
|
Hemang
|
b074b388be
|
Add validation on LLM provider param.
|
2025-01-30 10:07:05 +01:00 |
|
Hemang
|
84fc1a9a7a
|
Remove u/ from the proxy api and some other changes for fastapi.
|
2025-01-30 09:55:16 +01:00 |
|
Hemang
|
4d26a8b139
|
Update to make the proxy service work with existing Traeffik config of explorer.
|
2025-01-29 22:24:32 +01:00 |
|
Hemang
|
3a9d982f6e
|
Add skeleton API to proxy requests to LLM provider.
|
2025-01-29 21:29:10 +01:00 |
|