Skip to content

removing withMetadata #1993

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 19 commits into from
Closed

Conversation

ba11b0y
Copy link
Contributor

@ba11b0y ba11b0y commented May 28, 2025

No description provided.

sxlijin and others added 4 commits May 27, 2025 23:47
Needed to prevent Cargo.lock churn in studio2.
<!-- ELLIPSIS_HIDDEN -->

----

> [!IMPORTANT]
> Locks `baml-ids` version to `0.0.1` in `Cargo.toml` to prevent
`Cargo.lock` churn in `studio2`.
> 
>   - **Version Lock**:
> - Locks `baml-ids` version to `0.0.1` in `Cargo.toml` to prevent
`Cargo.lock` churn in `studio2`.
> 
> <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 5ad9723. You can
[customize](https://app.ellipsis.dev/BoundaryML/settings/summaries) this
summary. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
<!-- ELLIPSIS_HIDDEN -->



> [!IMPORTANT]
> Add comprehensive integration tests for dynamic clients, types, media,
providers, retry policies, and tracing, and remove outdated test file.
> 
>   - **New Tests**:
> - Add `dynamic-clients.test.ts` for testing dynamic client
registration and usage.
> - Add `dynamic-types.test.ts` for testing dynamic type handling,
including classes, enums, and literals.
>     - Add `media.test.ts` for testing image and audio input handling.
> - Add `prompt_renderer.test.ts` for testing prompt rendering with
aliasing.
>     - Add `retry.test.ts` for testing retry policies and fallbacks.
> - Add `tracing.test.ts` for testing synchronous and asynchronous
tracing, and event logging.
>   - **Provider Tests**:
> - Add tests for `Anthropic`, `AWS`, `Azure`, and `OpenAI` providers,
including streaming and error handling.
>   - **File Removal**:
> - Remove `integ-tests.test.ts.old`, consolidating tests into new
files.
> 
> <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 ae7bc16. You can
[customize](https://app.ellipsis.dev/BoundaryML/settings/summaries) this
summary. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
Copy link

vercel bot commented May 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
baml ❌ Failed (Inspect) Jun 3, 2025 8:07pm

imalsogreg and others added 2 commits May 29, 2025 17:46
This fixes promptfiddle by handling media values that require coersion
from BamlMaps, like `{ url "some_url" }`.
<!-- ELLIPSIS_HIDDEN -->


----

> [!IMPORTANT]
> Implements media type coercion in `coerce_arg()` for `file`, `url`,
and `base64` sources, enhancing media handling in BamlMaps.
> 
>   - **Behavior**:
> - Implements media type coercion in `coerce_arg()` in `to_baml_arg.rs`
for `file`, `url`, and `base64` media sources.
> - Validates `media_type` property and logs errors for unsupported
properties.
>     - Handles missing `span_path` with error logging.
>   - **Error Handling**:
> - Logs errors for invalid `media_type` and unsupported properties in
media maps.
> - Logs error if `span_path` is missing when resolving file references.
>   - **Misc**:
> - Removes unimplemented code block for media coercion in
`to_baml_arg.rs`.
> 
> <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 0eacfe1. You can
[customize](https://app.ellipsis.dev/BoundaryML/settings/summaries) this
summary. It will automatically update as commits are pushed.</sup>


<!-- ELLIPSIS_HIDDEN -->
@imalsogreg imalsogreg force-pushed the rahul/no-with-metadata branch from 1e650ad to 8215fe5 Compare May 29, 2025 21:29
@imalsogreg imalsogreg force-pushed the rahul/no-with-metadata branch 2 times, most recently from d2822ea to f26e770 Compare May 29, 2025 21:51
@imalsogreg imalsogreg force-pushed the rahul/no-with-metadata branch from 4f3509e to cdc77f8 Compare May 29, 2025 22:29
aaronvg and others added 3 commits May 30, 2025 17:49
<!-- ELLIPSIS_HIDDEN -->



> [!IMPORTANT]
> Updates `with_options.mdx` to indicate BAML Ruby (beta) lacks
async/concurrent support, removing example code.
> 
>   - **Behavior**:
> - Updates Ruby tab in `with_options.mdx` to state that BAML Ruby
(beta) does not support async/concurrent calls.
>     - Removes previous Ruby example code for async operations.
> 
> <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 fd08916. You can
[customize](https://app.ellipsis.dev/BoundaryML/settings/summaries) this
summary. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
remove ability to return null on UnionTypeView
@imalsogreg imalsogreg force-pushed the rahul/no-with-metadata branch from c2b461d to 4d65f38 Compare May 31, 2025 05:38
Co-authored-by: Greg Hale <imalsogreg@gmail.com>
@ba11b0y
Copy link
Contributor Author

ba11b0y commented Jun 20, 2025

stale, merged in #2045

@ba11b0y ba11b0y closed this Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants