-
Using the latest python sdk, v2.57.0,
from what I can tell, triggered in has anything changed in the APIs for the cloud solution? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hey there, @bramvdh! I'm here to help you with any bugs, questions, or contributions you have. Let's tackle this together! Yes, there have been changes in the API endpoint configurations for the Langfuse cloud solution. The To resolve this, ensure that your Python SDK is configured to use the correct base URL. You can set the from langfuse.openai import OpenAI
# Configure the OpenAI client to use the correct base URL
client = OpenAI(
base_url='https://cloud.langfuse.com',
api_key='your_api_key', # replace with your actual API key
) This should help in handling the 301 redirects by pointing your requests to the correct endpoint. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
Thanks for reporting, turned this into a bug report: #4769 |
Beta Was this translation helpful? Give feedback.
-
@bramvdh Have you set the Langfuse host manually? It is important to specify Also, do you see this for all your requests? |
Beta Was this translation helpful? Give feedback.
@bramvdh Have you set the Langfuse host manually? It is important to specify
https
protocol and nothttp
in the Langfuse host variable.Also, do you see this for all your requests?