From d5f67a0a257cd08232960f6eac1f75c0cab085cc Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Tue, 5 Dec 2023 12:20:29 -0800 Subject: [PATCH] (docs) proxy + langchain --- litellm/proxy/tests/test_langchain_request.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/litellm/proxy/tests/test_langchain_request.py b/litellm/proxy/tests/test_langchain_request.py index af6691f3c02..2306ffaf7cb 100644 --- a/litellm/proxy/tests/test_langchain_request.py +++ b/litellm/proxy/tests/test_langchain_request.py @@ -24,5 +24,16 @@ response = chat(messages) print(response) +claude_chat = ChatOpenAI( + openai_api_base="http://0.0.0.0:8000", + model = "claude-v1", + temperature=0.1 +) + +response = claude_chat(messages) + +print(response) + +