dspy
dspy copied to clipboard
Adding `self.history = []` in the custom LM doc example
https://github.com/stanfordnlp/dspy/blob/b2816c4a35e3144a06752423de1afb8e68e1005f/docs/docs/deep-dive/language_model_clients/custom-lm-client.mdx#L54
In the code above, should self.history = [] be added? Since it is being referenced in the other function.
@arnavsinghvi11
Thanks @ovshake ! updated in docs.