hanfangyuan4396 / jina_sum

ChatGPT on WeChat项目插件使用jina reader和ChatGPT总结网页链接内容,支持总结公众号、小红书、知乎等分享卡片链接
MIT License
73 stars 8 forks source link

config.json中使用fastgpt配置api时报错 #5

Closed samqin123 closed 3 weeks ago

samqin123 commented 3 weeks ago
image

[WARNING][JinaSumlSHARING,[2024-08-17sum py:g1t19:49:041retry11na[2024-08-17SHARING,WARNING]19:49:04[JinaSumjina sum py:91retryCW O19:49:041WARNING][2024-08-17Ljina_ sum py:91SHARING,[JinaSumretryERROR][2024-08-17 19:49:04][iina sum py:95[TinaSuSHARINGIraceback(most recent call last):File "C: \Users\Administrator Desktopichatgpt-on wechat-winipluginsl jina_sumljina_sum py", line 60, in on handle_contextcontext. type != ContextType.SHARING and context.type != ContextType. TEXT:Fi1e"C: iProgramDatalminiconda3lenvslpy310lliblenum py", line 437,in getattrraise AttributeError(name) from NoneSHARINGttributeError:iendyeort 2gut1 19 ai0ellutshat chaweel. py.2a6l.a [u0l sendlsg=Reply(type=ERROR, content=[ERRORI

samqin123 commented 3 weeks ago

解决了,强行赋值,content.type = “SHARING”