Links to sources when using Web Search + GPT-5 #9127
Unanswered
michnovka
asked this question in
Troubleshooting
Replies: 2 comments 4 replies
-
It's up to the LLM to use this format and not the codebase. ![]() |
Beta Was this translation helpful? Give feedback.
0 replies
-
I see, upon inspection of the reply from from the "broken" reponses they are like
while when it works there is some unicode prefix:
So the LLM is messing up the generated text? there is no way LC strips this somehow during some pre or postprocessing of the stream? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
I use gpt-5 with my agent, and I have noticed often when it mentions information from Web Search (the one from Librechat, not OpenAI's) it gives an artifact like
︎turn0search2
instead of the link.I was able to reproduce this always with GPT-5 agent, but never with GPT-4.1 or other models. Those link the sources properly.
Also, this only happened with GPT-5 + Responses API. But GPT4.1+responses or GPT5+conversations or any other combo you can think of - I could not reproduce.
Ive found info about this on wiki but I am not sure if this is GPT-5 LLM bug, or its about how LC interprets the response from the LLM.
Version Information
ghcr.io/danny-avila/librechat-dev latest 2041804cc3a4 4 hours ago 1.56GB
Steps to Reproduce
if you test with other models you will get it linking properly, see gpt-4.1:
What browsers are you seeing the problem on?
No response
Relevant log output
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions