* feat: Add cURL command unescaping for API request parsing Enhance APIRequestComponent with a new _unescape_curl method to handle: - JSON string encoded curl commands - Double and single escaped quotes - Robust error handling for curl command parsing The new method improves flexibility when parsing curl commands with various escape sequences. * [autofix.ci] apply automated fixes * refactor: Simplify cURL command unescaping logic in APIRequestComponent Updated the unescaping logic to improve readability and maintainability. The method now directly attempts to decode JSON strings and handles escaped quotes more efficiently, with enhanced error handling for various exceptions. * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes * fix pokedex agent * Please provide the output of 'git diff --staged' command. --------- Co-authored-by: Edwin Jose <edwin.jose@datastax.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Ítalo Johnny <italojohnnydosanjos@gmail.com> Co-authored-by: Cristhian Zanforlin Lousa <cristhian.lousa@gmail.com> |
||
|---|---|---|
| .. | ||
| base | ||
| langflow/version | ||
| tests | ||
| .gitignore | ||
| Dockerfile | ||