textgrad icon indicating copy to clipboard operation
textgrad copied to clipboard

TextualGradientDescentwithMomentum missing return statement

Open jeffery1236 opened this issue 1 year ago • 1 comments

In the _update_prompt method of TextualGradientDescentwithMomentum, I found a missing return statement.

https://github.com/zou-group/textgrad/blob/ee13ed76c57685d168453012bc9b8333df5c0547/textgrad/optimizer/optimizer.py#L233

jeffery1236 avatar Jul 29 '24 14:07 jeffery1236

ah, great catch. we never used this after all, but we should fix this in the next release. thank you @jeffery1236 !

mertyg avatar Aug 02 '24 16:08 mertyg