Commit Graph

91 Commits

Author SHA1 Message Date
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 6afbcd3ea0 Add API endpoints so that the Proxy can be used without pushing to Explorer. 2025-02-25 22:38:15 +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 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 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 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
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 5765dac764 rename anthropic test file names 2025-02-17 15:27:11 +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 891abf2952 Change some names for the test stack. 2025-02-13 15:46:09 +01:00
Zishan 4276aad7be change prompt and add try/except for streming call 2025-02-13 10:54:29 +01:00
Zishan 768e655947 adjust pytest 2025-02-12 17:32:10 +01:00
Zishan a032bbaba3 test api key 2025-02-12 15:04:10 +01:00
Zishan 86895c61ce add anthropic api key and remove tavily use 2025-02-12 14:40:57 +01:00
Zishan 89da7aadab remove useless code 2025-02-12 11:53:31 +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 472136a2ad Remove coverage for now. 2025-02-11 10:29:04 +01:00
Hemang Sarkar c0abf96879 Update requirements.txt 2025-02-11 10:24:41 +01:00
Hemang a26ed0eebb Remove volume bind from test docker compose. 2025-02-11 10:21:08 +01:00
Hemang 6f0a34c070 Add test for openai chat completions via proxy with tool call and with streaming. 2025-02-10 16:18:36 +01:00
Hemang 64ddd9f96d Add test for openai chat completions API via proxy with tool call. 2025-02-10 15:21:46 +01:00
Hemang 8ad4a19c21 Modify the test to verify streaming case. 2025-02-10 10:26:52 +01:00
Hemang 5fc05ee39e Use the chat completions API response to verify the trace in explorer. 2025-02-10 09:57:04 +01:00
Hemang 094970f6b8 Add openai test for chat completions without streaming and without tool calls. 2025-02-10 08:01:12 +01:00
Hemang d98b73253b Skip Anthropic test if API key not set. 2025-02-10 05:43:06 +01:00
Hemang c2db9ede35 Change the network name and the .env.test file so that test explorer proxy can communicate with the test explorer backend app-api. 2025-02-10 05:00:37 +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 084ef4f0e8 Update the testing setup. 2025-02-06 15:52:50 +01:00
Zishan 6eecb1510a adjust anthropic test 2025-02-06 15:12:20 +01:00
Zishan bb81066356 rename anthropic test 2025-02-06 14:57:40 +01:00
Hemang c4fe6ebae3 Initial test setup. 2025-02-05 19:33:17 +01:00