Hemang
|
32fa1c080d
|
Add a Gemini API proxy route.
|
2025-03-03 12:23:04 +01:00 |
|
Hemang
|
d9d4ba0344
|
Update the up() function to exit if the policies file path is not valid.
|
2025-02-28 11:45:53 +01:00 |
|
Hemang
|
5ecab37feb
|
Support passing a policy file to the proxy on startup.
|
2025-02-28 11:45:53 +01:00 |
|
Hemang
|
1bf6a279d7
|
Small changes in the anthropic route.
|
2025-02-25 23:10:36 +01:00 |
|
Hemang
|
6afbcd3ea0
|
Add API endpoints so that the Proxy can be used without pushing to Explorer.
|
2025-02-25 22:38:15 +01:00 |
|
Hemang
|
6d6f4d62c7
|
Remove allowed endpoints check.
|
2025-02-25 20:28:26 +01:00 |
|
Zishan
|
0656b85e2a
|
remove end reasons
|
2025-02-21 16:29:43 +01:00 |
|
Zishan
|
65b0693299
|
add anthropic image handle
|
2025-02-21 12:02:37 +01:00 |
|
Zishan
|
2ee69dffac
|
remove comment
|
2025-02-20 13:48:12 +01:00 |
|
Zishan
|
45b9872d73
|
change the way of sending streaming request and specify zurich, switzerland in prompt
|
2025-02-20 13:43:46 +01:00 |
|
Zishan
|
c5ce8e305b
|
correct typo
|
2025-02-20 10:50:12 +01:00 |
|
Zishan
|
ecc7f41adf
|
Merge branch 'main' into anthropic-add
|
2025-02-20 10:47:58 +01:00 |
|
Zishan
|
2dd3049926
|
add anthropic header test
|
2025-02-20 10:45:21 +01:00 |
|
Hemang
|
8fa127ff38
|
Add a test with openai and an image in the chat.
|
2025-02-19 17:13:38 +01:00 |
|
Hemang
|
62d09c118f
|
Handle error from openai.
|
2025-02-19 15:31:39 +01:00 |
|
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 |
|