Commit 843dfde
Boundary studio v2 model changes (#2048)
- Boundary studiov2 model changes
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> Enhance BAML runtime tracing and logging, add HTTP request/response
handling, and improve BAML source hashing performance.
>
> - **Tracing and Logging Enhancements**:
> - Add `FunctionType` and `FunctionStart` to `tracing::events` for
better function call tracing.
> - Implement `IntoRpcEvent` for converting trace data to RPC events in
`rpc_converters`.
> - Add `make_trace_event_for_response()` in
`llm_response_to_log_event.rs` to create trace events from LLM
responses.
> - **HTTP Handling**:
> - Add `HTTPRequest` and `HTTPResponse` handling in Python, Ruby, and
TypeScript clients.
> - Implement header redaction for sensitive information in
`tracing/events.rs`.
> - **Performance Improvements**:
> - Add `baml_src_hash()` in `AstSignatureWrapper` for deterministic
hashing of BAML source code.
> - Add performance tests for BAML source hashing in `publisher/mod.rs`.
> - **Miscellaneous**:
> - Comment out unused code in `upload-traces-main.rs`.
> - Update `Cargo.lock` with new dependencies and versions.
>
> <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 fdc64e0. You can
[customize](https://app.ellipsis.dev/BoundaryML/settings/summaries) this
summary. It will automatically update as commits are pushed.</sup>
<!-- ELLIPSIS_HIDDEN -->
---------
Co-authored-by: Sam Lijin <sam@boundaryml.com>
Co-authored-by: Chris Watts <chris@boundaryml.com>1 parent 1771164 commit 843dfde
45 files changed
Lines changed: 3836 additions & 2202 deletions
File tree
- engine
- baml-lib
- baml-core/src/ir/ir_hasher
- baml-types/src
- ir_type
- tracing
- baml-rpc
- src
- ast
- runtime_api
- ui
- baml-runtime/src
- internal/llm_client
- orchestrator
- primitive
- aws
- runtime/publisher
- tracingv2
- publisher
- rpc_converters
- storage
- tracing
- types
- language_client_python/src/types
- language_client_ruby/ext/ruby_ffi/src/types
- language_client_typescript/src/types
- sandbox/src
- typescript/fiddle-frontend
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
343 | 346 | | |
344 | 347 | | |
345 | 348 | | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
351 | 354 | | |
352 | 355 | | |
353 | 356 | | |
354 | 357 | | |
355 | 358 | | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
363 | 369 | | |
364 | | - | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
365 | 374 | | |
366 | 375 | | |
367 | 376 | | |
368 | | - | |
| 377 | + | |
369 | 378 | | |
370 | 379 | | |
371 | 380 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
0 commit comments