swink-agent 0.13.2

Core scaffolding for running LLM-powered agentic loops
1
2
3
4
5
6
7
8
9
10
11
12
//! Tests for `stream`.
#![cfg(test)]

use super::ReasoningEffort;

#[test]
fn every_xhigh_spelling_deserializes() {
    for wire in ["\"xhigh\"", "\"x_high\"", "\"extra_high\""] {
        let decoded: ReasoningEffort = serde_json::from_str(wire).expect(wire);
        assert_eq!(decoded, ReasoningEffort::XHigh, "spelling {wire}");
    }
}