We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在windows下运行autorag:
auto-coder.rag serve --model deepseek_chat --served_model_name deepseek_chat --index_filter_workers 100 --tokenizer_path C:\Users\caich\Desktop\tokenizer.json --rag_doc_filter_relevance 2 --doc_dir d:\mydoc
出现如下错误
| Traceback (most recent call last): | File "C:\Python312\Lib\site-packages\autocoder\rag\long_context_rag.py", line 279, in stream_chat_oai | return self._stream_chat_oai( | ^^^^^^^^^^^^^^^^^^^^^^ | File "C:\Python312\Lib\site-packages\autocoder\rag\long_context_rag.py", line 416, in _stream_chat_oai | final_relevant_docs = token_limiter.limit_tokens( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "C:\Python312\Lib\site-packages\autocoder\rag\token_limiter.py", line 120, in limit_tokens | elif doc not in added_docs: | ^^^^^^^^^^^^^^^^^^^^^ | TypeError: unhashable type: 'SourceCode'
The text was updated successfully, but these errors were encountered:
安装最新版
pip install -U auto-coder==0.1.173
然后在管理员权限下启动命令行,没有出错了
Sorry, something went wrong.
No branches or pull requests
在windows下运行autorag:
出现如下错误
The text was updated successfully, but these errors were encountered: