dspy
dspy copied to clipboard
`lm.py` does too much special casing based on `self.provider`
dsp.modules.lm
is nearly all special cases:
We should think about how to move those decisions into the LM subclasses instead.
Maybe this is already happening in the backend refactor @KCaverly ?