@@ -167,8 +167,6 @@ func (l *ChatCompletionsLogic) appendUsageDetailLog(authToken string, req *types
switch val := req.Messages[0].Content.(type) {
case string:
msgContent = val
- case []map[string]string:
- msgContent = val[0]["type"]
case []interface{}:
if len(val) > 0 {
if valc, ok := val[0].(map[string]interface{}); ok {