You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code has been refactored since then and I believe this race was factored away. Very much want these types to pass any race detection checks (would love a test that adds/checks that!).
I'm seeing data race warnings when using an openai.Chat instance across multiple goroutines.
It appears
Client.createChat
is writing toc.baseURL
when called:langchaingo/llms/openai/internal/openaiclient/chat.go
Line 147 in c85d396
Is the lack of thread safety expected for LLM clients?
The text was updated successfully, but these errors were encountered: