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
into the example:
feedback-examples/streamlit/main.py
I always receive error:
LangSmithAuthError: Authentication failed for /feedback. HTTPError('401 Client Error: Unauthorized for url: https://api.smith.langchain.com/feedback', '{"detail":"Invalid token"}')
(issue comes from line 110 of main.py)
Traceback:
File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 541, in _run_script
exec(code, module.dict)
File "/teamspace/studios/this_studio/LS_chat_example.py", line 112, in
feedback_record = client.create_feedback(
File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/langsmith/client.py", line 4353, in create_feedback
raise e
File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/langsmith/client.py", line 4341, in create_feedback
self.request_with_retries(
File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/langsmith/client.py", line 757, in request_with_retries
raise ls_utils.LangSmithAuthError(
my .env for LangSmith is all correct, it works on other files, just this from this example has this issue? Why?
Thanks!
The text was updated successfully, but these errors were encountered:
into the example:
feedback-examples/streamlit/main.py
I always receive error:
LangSmithAuthError: Authentication failed for /feedback. HTTPError('401 Client Error: Unauthorized for url: https://api.smith.langchain.com/feedback', '{"detail":"Invalid token"}')
(issue comes from line 110 of main.py)
Traceback:
File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 541, in _run_script
exec(code, module.dict)
File "/teamspace/studios/this_studio/LS_chat_example.py", line 112, in
feedback_record = client.create_feedback(
File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/langsmith/client.py", line 4353, in create_feedback
raise e
File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/langsmith/client.py", line 4341, in create_feedback
self.request_with_retries(
File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/langsmith/client.py", line 757, in request_with_retries
raise ls_utils.LangSmithAuthError(
my .env for LangSmith is all correct, it works on other files, just this from this example has this issue? Why?
Thanks!
The text was updated successfully, but these errors were encountered: