Commit Graph

24 Commits

Author SHA1 Message Date
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