mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-17 09:34:48 +00:00
test(messages): use rstest for the new bedrock invoke thinking tests
Some checks failed
Cost map pins recheck / rerun-cost-map-guard (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
LiteLLM Rust DB / db-queries (push) Has been cancelled
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-wheel (push) Has been cancelled
Terraform Modules / fmt, validate, test (aws) (push) Has been cancelled
Terraform Modules / fmt, validate, test (gcp) (push) Has been cancelled
Some checks failed
Cost map pins recheck / rerun-cost-map-guard (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
LiteLLM Rust DB / db-queries (push) Has been cancelled
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-wheel (push) Has been cancelled
Terraform Modules / fmt, validate, test (aws) (push) Has been cancelled
Terraform Modules / fmt, validate, test (gcp) (push) Has been cancelled
This commit is contained in:
parent
46a843b030
commit
d91bc3fb8e
2 changed files with 2 additions and 1 deletions
|
|
@ -1988,6 +1988,7 @@ mod tests {
|
|||
);
|
||||
}
|
||||
|
||||
#[rstest]
|
||||
#[tokio::test]
|
||||
async fn the_native_output_retry_drops_unsigned_thinking_too() {
|
||||
let model = "bedrock/invoke/us.anthropic.claude-sonnet-5-5-v1:0";
|
||||
|
|
|
|||
|
|
@ -861,7 +861,7 @@ mod tests {
|
|||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[rstest]
|
||||
fn unsigned_thinking_is_dropped_and_signed_thinking_kept() {
|
||||
let unsigned =
|
||||
serde_json::json!({"type": "thinking", "thinking": "Read it first.", "signature": ""});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue