MCPcopy Create free account
hub / github.com/AI45Lab/Code / test_openai_convert_messages_empty

Function test_openai_convert_messages_empty

core/src/llm/tests.rs:1775–1779  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1773
1774 #[test]
1775 fn test_openai_convert_messages_empty() {
1776 let client = OpenAiClient::new("key".to_string(), "model".to_string());
1777 let converted = client.convert_messages(&[]);
1778 assert_eq!(converted.len(), 0);
1779 }
1780
1781 #[test]
1782 fn test_openai_convert_messages_single_text_block() {

Callers

nothing calls this directly

Calls 1

convert_messagesMethod · 0.80

Tested by

no test coverage detected