(t *testing.T, content []fantasy.Content)
| 1927 | } |
| 1928 | |
| 1929 | func mustMarshalContent(t *testing.T, content []fantasy.Content) pqtype.NullRawMessage { |
| 1930 | t.Helper() |
| 1931 | result, err := chatprompt.MarshalContent(content, nil) |
| 1932 | require.NoError(t, err) |
| 1933 | return result |
| 1934 | } |
| 1935 | |
| 1936 | func mustMarshalToolResult(t *testing.T, toolCallID, toolName string, result json.RawMessage, isError, isMedia, providerExecuted bool) pqtype.NullRawMessage { |
| 1937 | t.Helper() |
no test coverage detected