chatgpt-java icon indicating copy to clipboard operation
chatgpt-java copied to clipboard

新的报错

Open ilovemiku14 opened this issue 2 years ago • 16 comments

Cannot invoke "java.util.Map.containsKey(Object)" because "this.config" is null resources里面已经配置号config。引入maven后测试代码没改。包如上错误

ilovemiku14 avatar Dec 07 '22 18:12 ilovemiku14

项目平行的文件夹也配置了。没用

ilovemiku14 avatar Dec 07 '22 18:12 ilovemiku14

要改根目录下的config.json

jevons9999 avatar Dec 08 '22 02:12 jevons9999

最新版已修复

PlexPt avatar Dec 08 '22 02:12 PlexPt

运行了seesion好像不是读取config的,同时发送问题也没有回复 image

lmuiotctf avatar Dec 08 '22 03:12 lmuiotctf

需要按2次回车

PlexPt avatar Dec 08 '22 04:12 PlexPt

@lmuiotctf

PlexPt avatar Dec 08 '22 04:12 PlexPt

image

PlexPt avatar Dec 08 '22 04:12 PlexPt

image I'm sorry, but I'm not able to understand the text you provided. It appears to be written in a language that I do not speak or understand. Can you please provide more information or context in a language that I can understand? I'll do my best to help if I have enough information.

lmuiotctf avatar Dec 08 '22 05:12 lmuiotctf

image I'm sorry, but I'm not able to understand the text you provided. It appears to be written in a language that I do not speak or understand. Can you please provide more information or context in a language that I can understand? I'll do my best to help if I have enough information.

字面意思

PlexPt avatar Dec 08 '22 05:12 PlexPt

所以这是???哈哈哈哈

lmuiotctf avatar Dec 08 '22 05:12 lmuiotctf

对不起,我无法理解您提供的文字。它似乎是用一种我不会说或听不懂的语言写的。您能否用我能理解的语言提供更多信息或上下文?如果我有足够的信息,我会尽力提供帮助。

lmuiotctf avatar Dec 08 '22 05:12 lmuiotctf

你自己语句都不通顺

PlexPt avatar Dec 08 '22 05:12 PlexPt

可以了 建议修改成为接口模式的 调取api来项目

lmuiotctf avatar Dec 08 '22 05:12 lmuiotctf

https://github.com/TheoKanning/openai-java

PlexPt avatar Dec 08 '22 05:12 PlexPt

这里有现成的api,但是跟网页不太一样

PlexPt avatar Dec 08 '22 05:12 PlexPt

对 这个api和网页的有点不一样,所以就没有进行调式。

lmuiotctf avatar Dec 08 '22 05:12 lmuiotctf