web-ui icon indicating copy to clipboard operation
web-ui copied to clipboard

Think tags

Open tcmartin opened this issue 10 months ago • 4 comments

Remove content in think tags from llm output so ollama deepseek-r1 distillations can work.

tcmartin avatar Jan 24 '25 23:01 tcmartin

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Jan 24 '25 23:01 CLAassistant

please move the remove_think_tags to utils.py

warmshao avatar Jan 27 '25 00:01 warmshao

I moved remove_think_tags to utils.py

tcmartin avatar Jan 27 '25 21:01 tcmartin

the latest version should solve this problem, which extracts content into reasoning content instead removing it

warmshao avatar Jan 28 '25 00:01 warmshao