zou-group / textgrad

TextGrad: Automatic ''Differentiation'' via Text -- using large language models to backpropagate textual gradients.
http://textgrad.com/
MIT License
1.6k stars 130 forks source link

Fix parameter order error #11

Closed ajms closed 3 months ago

ajms commented 3 months ago

The parameters were send to the wrong parameters when calling super().__init__. I added the parameter names to avoid confusions.

ajms commented 3 months ago

@mertyg, @vinid I stumbled upon this error and made a fix. Feel free to merge. Best, albert