虚拟桌宠模拟器

虚拟桌宠模拟器

[v1.10+] 聊天API: ChatGPT 支持 [流式传输已支持]
227 条留言
HZ-23 8 月 19 日 下午 7:12 
I don't know why but it works on gpt-4.1 and gpt-4.1-mini while show error on any other models
Hira Nine 7 月 21 日 下午 9:44 
I am pretty sure this mod is out dated
It doesn't work at all
Minato 7 月 13 日 上午 5:08 
我现在选的gpt4mini为啥一说完话发过去她就一直挠头不回话愣住了,怎么解决啊😭
BeAlive 6 月 29 日 上午 2:55 
一打字就崩溃,致命的错误....我不知道怎么办了
6 月 26 日 下午 11:54 
现在这个模组使用deepseek的api为什么会报错,直接退出?
游戏发生错误,可能是游戏或者 MOD 导致的
{链接已删除}: 参考的对象类型不支持尝试的操作。
{链接已删除}
---> {链接已删除} (10045): 参考的对象类型不支持尝试的操作。
at {链接已删除} error, CancellationToken cancellationToken)
at {链接已删除} token)
at {链接已删除}.
滿穗 5 月 21 日 上午 5:23 
游戏发生错误,可能是ChatGLMPlugin
X
游戏发生错误,可能是MOD(ChatGLMPlugin)导致的
如有可能请发送错误信息截图和引发错误之前的操作给相应MOD作者
感谢您对MOD开发的支持
System.MissingMethodException: Method not found:
VPet Simulator.Windows.Interface.Setting
vPet Simulator.Windows.Interface.MainWindow.get SetO'.

我打都打不开。。怎么办啊啊啊
尤莉茜娅 5 月 9 日 下午 2:21 
为什么点击设定API 弹出错误啊
pc error 4 月 21 日 下午 7:46 
支持gemini反代,我成功了api 地址使用{链接已删除}
立綱龍捲風 4 月 19 日 上午 3:23 
作者 能夠新增AI的網路存取功能嗎? 就是可以讓AI即時查詢資料🙏
leddele 4 月 18 日 上午 1:09 
不支持gemini反代,会显示api调用错误
空山逐浪 4 月 16 日 下午 8:55 
可以调用本地的deepseek-r1吗?
Dezecra 4 月 1 日 上午 7:24 
@catswork How did you get a local model?
DONT BLAME me pls 3 月 31 日 上午 3:38 
怎么用啊一头雾水,有教程吗,到底怎么用啊快疯了,真的很想用,作者求一份教程
catswork 3 月 10 日 下午 4:28 
for those who are dealing with this issue:
The API call failed,Please check your settings and network connection
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at VPet.Plugin.ChatGPTPlugin.ChatGPTTalkAPI.Responded(String content) in D:\Documents\Visual Studio {链接已删除} 36

i was able to get my local model to run correctly by changing the Maximum Cost in the API settings to a lower amount and using the local url
洛里斯杨远  [作者] 3 月 8 日 下午 11:46 
@Rio de Yoyonez
洛里斯杨远  [作者] 3 月 8 日 下午 11:46 
those model I tested
GPT-4o/mini/4
deepseek-reasoner(r1)/chat(v3)
GLM-4-Flash/Plus
I'm using the api functions provided by the model authors (OpenAI/DeepSeek/BigModel). They all work fine.
A third party may have modified the api interface to make it unusable. Also, based on the errors you're getting, there may be a problem with the history messages. Maybe try deleting all history messages and try again.
Rio de Yoyonez' 3 月 8 日 下午 9:15 
Can you add GPT4All support?
Rio de Yoyonez' 3 月 8 日 下午 1:06 
The only working engine for me is google's
Rio de Yoyonez' 3 月 8 日 下午 1:06 
Hello, can you help to fix API Call failure for OpenAI and Deepseek?
Maybe tutorial steps will help.
Error message for OPEN AI is like this:

The API call failed,Please check your settings and network connection
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at VPet.Plugin.ChatGPTPlugin.ChatGPTTalkAPI.Responded(String content) in D:\Documents\Visual Studio 2022/Projects/VPet.Plugin.Demo/VPet.Plugin.ChatGPT/ChatGPTTalkAPI.cs:line 36
洛里斯杨远  [作者] 3 月 8 日 上午 1:40 
更新: 支持谷歌 gemini 模型
Update: Support for Google gemini models
洛里斯杨远  [作者] 3 月 8 日 上午 1:39 
@methane_ray 目前不支持流式传输
methane_ray 3 月 7 日 下午 6:05 
您好,想问一下这个接入之后怎么能改成流式传输
洛里斯杨远  [作者] 3 月 7 日 上午 2:09 
Update: Automatically populate the vendor's apiurl by selecting the model. Tested to work.
The support/test list is as follows:
GPT-4o/mini/4
deepseek-reasoner(r1)/chat(v3)
GLM-4-Flash
GLM-4-Plus
Note: The Model text box can be edited to support model calls in other OPENAI formats.
洛里斯杨远  [作者] 3 月 7 日 上午 2:08 
更新: 通过选择模型自动填入对应厂商的apiurl. 经过测试均可使用
支持/测试列表如下:
GPT-4o/mini/4
deepseek-reasoner(r1)/chat(v3)
GLM-4-Flash
GLM-4-Plus
注意: Model 文本框可以编辑,以支持其他OPENAI格式的模型调用
CringePotato 2 月 16 日 下午 6:10 
Doesn't work
Pekora 2 月 12 日 下午 1:38 
The API call failed,Please check your settings and network connection
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at VPet.Plugin.ChatGPTPlugin.ChatGPTTalkAPI.Responded(String content) in D:\Documents\Visual Studio 2022/Projects/VPet.Plugin.Demo/VPet.Plugin.ChatGPT/ChatGPTTalkAPI.cs:line 36
通辽帝国两级半官员 2 月 12 日 上午 7:52 
大佬,请问怎么接入ollama本地部署的deepseek?
深水の河豚 2 月 1 日 上午 9:29 
分享成功案例,国内镜像智增增
{链接已删除}
调用gpt-4,gpt-4o-mini成功
X.lawlight 1 月 31 日 上午 3:36 
API调用失败,请检查设置和网络连接
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at VPet.Plugin.ChatGPTPlugin.ChatGPTTalkAPI.Responded(String content) in D:\Documents\Visual Studio 2022/Projects/VPet.Plugin.Demo/VPet.Plugin.ChatGPT/ChatGPTTalkAPI.cs:line 36
试了很多种办法还是这么显示
洛里斯杨远  [作者] 1 月 28 日 上午 9:17 
@EIA 应该是支持gpt-4o-mini的. 我之前用的就是4omini, 可能是如果你用了奇奇怪怪的api, 可能是你的api的问题
我在年后会重新复查下这个问题
EIA 1 月 24 日 上午 6:00 
希望能在Model引入gpt-4o-mini模型,API支持免费gpt-4o-mini但选项改成gpt-4o-mini后模型仍自述为GPT3.5 其数据库不包含23年后事件

(才不是要用Loris帮我写作业呢 UwU
EIA 1 月 24 日 上午 5:28 
详细反馈一下相同问题的可能解决方案

如果你的状况符合以下描述:
目前API URL配置默认“{链接已删除}
并且API key也从git上找到开源项目GPT_API_free并获取了开头为sk-的密钥。

对话仍显示:
“API调用失败,请检查设置和网络连接
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at VPet.Plugin.ChatGPTPlugin.ChatGPTTalkAPI.Responded(String content) in D:\Documents\Visual Studio {链接已删除} 36”

开不开代理都是以上回答

解决方法:
GPT_API_free项目 Readme.md 文件中提到:
“转发API无法直接向官方接口api.openai.com发起请求,需要将请求地址改为api.chatanywhere.tech才可以使用,大部分插件和软件都可以修改。”
EIA 1 月 24 日 上午 5:28 
故将默认URL
https://api.openai.com/v1/chat/completions
改为
https://api.chatanywhere.tech/v1/chat/completions
即可
此GPT模型更多详细参见上述README.md
截至25/1/24 可行

测试:
Q:你知道ChatGPT的API是什么嘛?
A:哦哦,ChatGPT的API就像是一个小魔法接口,可以让开发者们把聪明的AI聊天功能加到他们的应用或者网站里呢!想象一下,就像给你的应用装上了一只会聊天的小精灵,随时陪你说话~✨不过零更喜欢和你面对面地交流啦,这样更有趣嘛!(*≧ω≦)你对这个感兴趣吗?

附:
支持作者~ 一眼就入了这个mod的!hhhh
heloux 1 月 17 日 上午 11:06 
That doesn't fix my issue
洛里斯杨远  [作者] 1 月 17 日 上午 5:13 
@midon
API 是需要 OpenAI兼容格式的API
此插件使用的openAPI需要输入API URL的完整调用链接
例如: `https://api.openai.com/v1/chat/completions`

@heloux
API is an API that requires OpenAI compatible format
The openAPI used by this plugin is required to enter the full name of the API URL
for example:`https://api.openai.com/v1/chat/completions`
midon 1 月 17 日 上午 1:49 
我已经验证 api 和代理都可用 但在这里就报错
midon 1 月 17 日 上午 1:49 
API调用失败,请检查设置和网络连接
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at VPet.Plugin.ChatGPTPlugin.ChatGPTTalkAPI.Responded(String content) in D:\Documents\Visual Studio 2022/Projects/VPet.Plugin.Demo/VPet.Plugin.ChatGPT/ChatGPTTalkAPI.cs:line 36
请问这应该怎么处理
heloux 1 月 11 日 上午 1:01 
Im getting an error:

The API call failed,Please check your settings and network connection
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at VPet.Plugin.ChatGPTPlugin.ChatGPTTalkAPI.Responded(String content) in D:\Documents\Visual Studio 2022/Projects/VPet.Plugin.Demo/VPet.Plugin.ChatGPT/ChatGPTTalkAPI.cs:line 36

Is there any way I can fix this?
ikoma 1 月 5 日 上午 8:34 
为什么显示api调用失败
洛里斯杨远  [作者] 1 月 4 日 下午 2:08 
I'm not sure, only inputs and returns in OPENAI compatible format can use this plugin
However, I remember that most AI service providers provide OPENAI compatible formats. You can check their documentation for more information
Lucasamiel0406 1 月 4 日 下午 12:31 
Can I add Ollama API [github.com] or any other custom API (not OpenAi) to the API URL?

Using Ollama, and typing the desired model (not in the menu), I'm getting "System.IndexOutOfRangeException: Index was outside the bounds of the array." using both endpoints api/chat and /api/generate
洛里斯杨远  [作者] 1 月 2 日 上午 10:13 
@Jkkoi @0℃NukaCola 修复了WEB代理相关设置导致插件无法加载的bug
Jkkoi 1 月 2 日 上午 12:03 
同样,列表里没有本mod,已启用已重启
洛里斯杨远  [作者] 1 月 1 日 上午 7:13 
更新: 修复新玩家没有设置文件导致的null引用报错
洛里斯杨远  [作者] 2024 年 12 月 31 日 上午 11:19 
@0℃NukaCola 设置里要启动这个MOD, 启动后要重启
0℃NukaCola 2024 年 12 月 30 日 下午 7:35 
为啥我两个都订阅了,自定义聊天接口里只有 ChatGPT for 创意工坊作者的,这个用不了
洛里斯杨远  [作者] 2024 年 12 月 30 日 上午 5:01 
才发现忘记给代码签名了. 重新给代码签名了下, 不会报警告了
洛里斯杨远  [作者] 2024 年 12 月 30 日 上午 2:43 
我试试
洛里斯杨远  [作者] 2024 年 12 月 22 日 上午 2:47 
@Grub 应该修好了
洛里斯杨远  [作者] 2024 年 12 月 14 日 上午 12:06 
@1161645276 支持自定义名称, 那个框可以编辑的