(tool chattest.OpenAITool)
| 152 | } |
| 153 | |
| 154 | func openAIToolName(tool chattest.OpenAITool) string { |
| 155 | return cmp.Or(tool.Function.Name, tool.Name, tool.Type) |
| 156 | } |
| 157 | |
| 158 | func mustChatLastErrorRawMessage(t testing.TB, payload codersdk.ChatError) pqtype.NullRawMessage { |
| 159 | t.Helper() |
no outgoing calls
no test coverage detected