-
Hi, I wanted to use the Langfuse Playground with my custom agent hosted on the server, but I get the api key validation error: Do you know how to resolve it? I cannot find any info on how the api key is validated. Thanks in advance 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The error message "Cannot read properties of undefined (reading 'message')" is likely triggered in the To resolve the API key validation issue, ensure that the API key object is correctly defined with all required properties. The expected properties for the API key object in Langfuse include:
Additionally, make sure that the API key is correctly retrieved and validated in the Langfuse Playground. The API key is retrieved from the database and validated using the Check that all fields are correctly filled and that the API key is properly configured according to these requirements. This should help resolve the validation error. 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.
-
I resolved the issue. Langfuse sends a request to |
Beta Was this translation helpful? Give feedback.
I resolved the issue.
Langfuse sends a request to
/chat/completions
withstream = false
, so I just had to implement the non-streaming option.