思源笔记设置了环境变量,看日志信息也是正确读取出来了,但是使用时一直报错 context deadline exceeded
。
I 2023/03/15 18:58:56 runtime.go:57: kernel is booting:
* ver [2.7.10]
* arch [amd64]
* os [Microsoft Windows 10 Pro 10.0.19045.2364 Build 19045.2364]
* pid [11296]
* runtime mode [prod]
* working directory [D:\jetaime\software\siyuan\resources]
* read only [false]
* container [std]
* database [ver=20220501]
* workspace directory [D:\jetaime\softdocument\siyuanWokerSpace\code]
I 2023/03/15 18:58:56 openai.go:135: OpenAI API enabled
baseURL=https://api.openai.com/v1
timeout=30s
proxy=socks5://127.0.0.1:7890
maxTokens=0
I 2023/03/15 18:58:56 runtime.go:103: use network proxy [system]
I 2023/03/15 18:58:56 serve.go:108: kernel [pid=11296] http server [0.0.0.0:14980] is booting
I 2023/03/15 18:58:57 working.go:395: built-in pandoc [ver=2.19.2, bin=D:\jetaime\softdocument\siyuanWokerSpace\code\temp\pandoc\bin\pandoc.exe]
I 2023/03/15 18:58:58 blocktree.go:386: read block tree [29 MB] to [D:\jetaime\softdocument\siyuanWokerSpace\code\temp\blocktree], elapsed [0.11s]
I 2023/03/15 18:58:58 conf.go:636: database size [2.6 GB], tree/block count [2293/98045]
I 2023/03/15 18:58:58 working.go:159: kernel booted
I 2023/03/15 18:58:58 tesseract.go:142: tesseract-ocr enabled [ver=v5.3.0.20221222, maxSize=2.0 MB, langs=eng+osd]
I 2023/03/15 18:58:58 serve.go:121: reverse proxy server [0.0.0.0:6806] is booting
I 2023/03/15 18:59:00 box.go:75: auto stat [trees=2293, blocks=98045, dataSize=1.2 GB, assetsSize=232 MB]
I 2023/03/15 18:59:00 disk.go:33: disk usage [total=500 GB, used=371 GB, free=130 GB]
E 2023/03/15 19:00:31 openai.go:64: create chat completion failed: Post "https://api.openai.com/v1/chat/completions": context deadline exceeded
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于