Commit 430e428
authored
Test collector using openai-generic client (groq) (#1813)
<!-- ELLIPSIS_HIDDEN -->
> [!IMPORTANT]
> Add `TestGroq` function and related tests for Groq client integration
with OpenAI-generic provider.
>
> - **Behavior**:
> - Adds `TestGroq` function in `groq.baml` for testing Groq client with
OpenAI-generic provider.
> - Updates `client.go` and `async_client.py` to include `TestGroq`
function for synchronous and asynchronous calls.
> - Adds `TestGroq` endpoint to `openapi.yaml` for API interaction.
> - **Testing**:
> - Adds `test_collector_groq()` in `test_collector.py` to validate Groq
client functionality.
> - **Misc**:
> - Updates `http-server.py` to handle Groq client responses.
> - Modifies `uv.lock` to update dependencies.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup>
for 139e70f. It will automatically
update as commits are pushed.</sup>
<!-- ELLIPSIS_HIDDEN -->1 parent 56f69e4 commit 430e428
33 files changed
Lines changed: 1113 additions & 58 deletions
File tree
- integ-tests
- baml_src/test-files/providers
- go/baml_client
- openapi/baml_client
- python
- baml_client
- tests
- react/baml_client
- react
- ruby/baml_client
- typescript/baml_client
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments