devin-ai-integration[bot]
268e8bb735
refactor(rust): share anthropic types, request helpers, and streaming contracts across crates ( #43426 )
...
* refactor(rust): standardize Azure Messages module path
* docs(rust): define shared types crate boundaries
* refactor(rust): share request helpers and type Anthropic blocks
* docs(rust): format shared type invariants as bullets
* test(rust): parameterize repeated cases with rstest
* refactor(rust): move Responses transform result into llms
* fix(anthropic): validate chat and batch responses
* docs(rust): clarify API format ownership boundaries
* docs: clarify Rust error message construction
* refactor(auth): keep shared Rust errors provider-neutral
* refactor(rust): separate format contracts from provider policy
* fix(rust): type Anthropic chat response text collection
* fix(rust): pass audio secret sources through hosts
* fix(rust): unblock batch lint and OCR error assertions
* test(rust): assert response failures at the adapter boundary
* refactor(rust): declare error messages with typed context
* wip
* fix(rust): adapt Bedrock error details
* style(rust): cargo fmt bedrock audio transcription
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* fix(rust): adapt tests and dead code to typed error details
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* fix(rust): keep converse error contracts and read env secrets without litellm
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* ci(rust): raise the native wheel size gate to 45 MB
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* fix(rust): tolerate missing usage in converse responses on the transcription route
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
---------
Co-authored-by: Yujong Lee <yujong@berri.ai>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-27 14:53:12 -07:00
Yujong Lee
80dbb2a28a
refactor(rust): resolve the http client config through From and TryFrom
...
HttpClientConfig::resolve becomes From<&HttpSettings> for Resolution and client_builder becomes TryFrom<&HttpClientConfig> for reqwest::ClientBuilder, matching the rustls conversion. The verify decision moves into From<&HttpSettings> for Verify, and the proxy environment rule moves next to its flags as HttpSettings::trusts_proxy_env. The curve and cipher results are read with transpose and a default selection, which removes the tuple destructuring
2026-09-18 19:48:34 -07:00