DSPy: The framework for programming—not prompting—language models
Python
update with self.history
Arnav Singhviedadecd989d9
diff --git a/docs/docs/deep-dive/language_model_clients/custom-lm-client.mdx b/docs/docs/deep-dive/language_model_clients/custom-lm-client.mdxindex edef34da3..b27f2cf20 100644--- a/docs/docs/deep-dive/language_model_clients/custom-lm-client.mdx+++ b/docs/docs/deep-dive/language_model_clients/custom-lm-client.mdx@@ -52,6 +52,7 @@ def __init__(model, api_key):self.model = modelself.api_key = api_keyself.provider = "default"+ self.history = []self.base_url = "https://api.anthropic.com/v1/messages"```