Skip to content

Fix missing parameters in get_optimization_review#1251

Merged
misrasaurabh1 merged 2 commits intomainfrom
fix/optimization-review-missing-params
Feb 2, 2026
Merged

Fix missing parameters in get_optimization_review#1251
misrasaurabh1 merged 2 commits intomainfrom
fix/optimization-review-missing-params

Conversation

@misrasaurabh1
Copy link
Contributor

Summary

  • Fix TypeError when calling get_optimization_review with extra kwargs
  • The caller passes concolic_tests, original_line_profiler, and optimized_line_profiler via **data
  • These parameters were missing from the function signature

Test Plan

  • Verified codeflash runs without the "unexpected keyword argument" error
  • Tested with appsmith TypeScript optimization run

🤖 Generated with Claude Code

misrasaurabh1 and others added 2 commits February 2, 2026 00:27
The caller was passing concolic_tests, original_line_profiler, and
optimized_line_profiler to get_optimization_review via **data, but
the function signature didn't include these parameters, causing
a TypeError when the function was called.

Added the missing parameters with default empty strings since these
are optional context values that aren't currently used by the
optimization review endpoint.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@misrasaurabh1 misrasaurabh1 merged commit b289730 into main Feb 2, 2026
22 of 27 checks passed
@misrasaurabh1 misrasaurabh1 deleted the fix/optimization-review-missing-params branch February 2, 2026 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant