You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Two mutually exclusive modes - the standard OpenAI text, and our special TensorZero mode
691
699
pubenumTextContent{
692
700
/// A normal openai text content block: `{"type": "text", "text": "Some content"}`. The `type` key comes from the parent `OpenAICompatibleContentBlock`
693
-
RawText{text:String},
701
+
Text{text:String},
694
702
/// A special TensorZero mode: `{"type": "text", "tensorzero::arguments": {"custom_key": "custom_val"}}`.
695
703
TensorZeroArguments{
696
704
tensorzero_arguments:Map<String,Value>,
@@ -703,7 +711,7 @@ impl<'de> Deserialize<'de> for TextContent {
703
711
let text = object.remove("text");
704
712
let arguments = object.remove("tensorzero::arguments");
0 commit comments