Commit Graph

142 Commits

Author SHA1 Message Date
Luca Beurer-Kellner 101bfc4b21 update readme 2025-03-05 14:08:37 +01:00
Luca Beurer-Kellner 5a5d1cfb84 update readme 2025-03-05 14:07:09 +01:00
Luca Beurer-Kellner 58f7ccf7c9 update readme 2025-03-05 14:04:13 +01:00
Luca Beurer-Kellner 67830f30ea update readme 2025-03-05 14:03:52 +01:00
Luca Beurer-Kellner a5fbfdaedd update readme 2025-03-05 14:03:30 +01:00
Luca Beurer-Kellner ed2ca7cbd6 update readme 2025-03-05 14:02:53 +01:00
Luca Beurer-Kellner 7c936eeced update readme 2025-03-05 14:01:54 +01:00
Luca Beurer-Kellner e2b3829098 update readme 2025-03-05 14:01:19 +01:00
Luca Beurer-Kellner b12e99bc2e update readme 2025-03-05 13:59:28 +01:00
Luca Beurer-Kellner 07ad26221c update readme 2025-03-05 13:58:55 +01:00
Luca Beurer-Kellner 8efbc059af update readme 2025-03-05 13:58:26 +01:00
Luca Beurer-Kellner 2d04bbf940 update readme 2025-03-05 13:56:49 +01:00
Hemang add900b302 Add comments in the Anthropic route for the header invariant key hack. 2025-03-03 16:23:45 +01:00
Hemang 8ea73df1ac Add comments in the Anthropic route for the header invariant key hack. 2025-03-03 14:38:31 +01:00
Hemang 2beac2989d Minor correction in the routes so that if dataset_name is None then invariant_authorization is also None. Thus with dataset_name the user isn't pushing to Explorer. 2025-03-03 14:28:47 +01:00
Hemang e6ed42de1d Correct gemini API route and add logic to stream response. This is a pass through with no push to explorer. 2025-03-03 14:03:28 +01:00
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
Zishan 79c934ef45 fix anthropic test 2025-02-27 10:30:33 +01:00
Hemang 1795fd4a23 Rename containers 2025-02-27 10:30:13 +01:00
Hemang 320c410493 Add test for OpenAI so that we verify that the Invariant API Key can be passed inside the OpenAI Key header. 2025-02-26 09:59:08 +01:00
Hemang Sarkar f9bd80f14b Update README.md 2025-02-26 09:18:59 +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
Hemang 579c871078 Fix Docs URL. 2025-02-24 13:54:50 +01:00
zishan-wei 4ed63ec4e3 add anthropic image handle
add anthropic image handle
2025-02-24 10:17:24 +01:00
Zishan 2825b25754 change anthropic test 2025-02-21 16:47:52 +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-wei daa7128971 Anthropic related add
Anthropic related add
2025-02-20 17:24:05 +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
Hemang f59a6a7cb3 Add a test for the error scenario from OpenAI. It is marked as skipped for now. 2025-02-20 12:11:56 +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 b1dedee9ee Add @pytest.mark.skipif to the openai image chat completion test. 2025-02-19 17:39:46 +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
Hemang Sarkar 9ab00a4e73 Merge pull request #3 from invariantlabs-ai/anthropic-implement
correct anthropic header key
2025-02-19 14:42:41 +01:00
Zishan 931504975f correct anthropic header key 2025-02-19 14:10:12 +01:00
zishan-wei d6e551cb3b add anthropic policy and related tests
add anthropic policy and related tests
2025-02-18 16:55:37 +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
Hemang Sarkar acb451a10e Update README.md 2025-02-18 15:09:16 +01:00
Hemang Sarkar 7958088b91 Update README.md 2025-02-18 15:07:30 +01:00
Zishan bd4b5187ea Merge branch 'main' into anthropic-implement 2025-02-18 14:54:38 +01:00