虚拟桌宠模拟器

虚拟桌宠模拟器

[v1.10+] 聊天API: ChatGPT 支持 [流式传输已支持]
The API call failed,Please check your settings and network connection
The API call failed,Please check your settings and network connection
System.AggregateException: One or more errors occurred. (Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'ChatGPT.API.Framework.Response' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.)
---> Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'ChatGPT.API.Framework.Response' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureArrayContract(JsonReader reader, Type objectType, JsonContract contract)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
at ChatGPT.API.Framework.Completions.GetResponse_async(String APIUrl, String APIKey, HttpMessageHandler Proxy)
at ChatGPT.API.Framework.Completions.Ask_async(String usermessage, String APIUrl, String APIKey, HttpMessageHandler Proxy)
at ChatGPT.API.Framework.ChatGPTClient.Ask_async(String id, String usermessage)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at ChatGPT.API.Framework.ChatGPTClient.Ask(String id, String usermessage)
at VPet.Plugin.ChatGPTPlugin.ChatGPTTalkAPI.Responded(String content) in D:\Documents\Visual Studio 2022/Projects/VPet.Plugin.Demo/VPet.Plugin.ChatGPT/ChatGPTTalkAPI.cs:line 65

how to fix?
nothing works, Gemini, CHATGPT, deepseek.
< >
正在显示第 1 - 2 条,共 2 条留言
Entar 4 月 8 日 上午 3:56 
一样,无法调用deepseek的API
6 月 27 日 上午 12:53 
确实 我也是deepseek 的ai有问题
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50