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
/// <summary>Returns the text of the first element in the Content collection, or an empty string if the collection is null or empty.</summary>
public override string ToString() => Content != null && Content.Count > 0 ? Content[0].Text : string.Empty;
This override crashes as soon as there is no content returned e.g. in the case of a FunctionTool response.
The text was updated successfully, but these errors were encountered: