objectiveai-sdk 2.0.5

ObjectiveAI SDK, definitions, and utilities
Documentation
1
2
3
4
5
6
7
8
use super::AssistantMessageExpression;

#[test]
fn deserialize_empty_object() {
    let json = "{}";
    let result: Result<AssistantMessageExpression, _> = serde_json::from_str(json);
    assert!(result.is_ok(), "failed to deserialize empty object: {}", result.unwrap_err());
}