mirror of
https://github.com/foss42/apidash.git
synced 2025-12-03 03:17:00 +08:00
Code cleanup
This commit is contained in:
@@ -30,7 +30,7 @@ class DebugFeature {
|
||||
rawResponse is String ? rawResponse : jsonEncode(rawResponse);
|
||||
final statusCode = responseModel.statusCode ?? 0;
|
||||
|
||||
final prompt = '''
|
||||
final prompt = """
|
||||
URGENT API DEBUG ANALYSIS
|
||||
|
||||
**Request Overview:**
|
||||
@@ -51,12 +51,12 @@ Provide a PRECISE, TEXT-ONLY explanation that:
|
||||
- Request Body: ${body ?? "Empty body"}
|
||||
|
||||
**Response Context:**
|
||||
\`\`\`
|
||||
```
|
||||
$responseBody
|
||||
\`\`\`
|
||||
```
|
||||
|
||||
Provide a CLEAR, ACTIONABLE solution in the SIMPLEST possible language.
|
||||
''';
|
||||
""";
|
||||
|
||||
return _service.generateResponse(prompt);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user