lem
Anchorite
写一个函数,以c#语言,调用dxcompiler.dll,把string类型的shader编译成byte[]





04-10
Chat
Anchorite
System.Net.Http.HttpRequestException: Error at completions (https://api.openai.com/v1/completions) with HTTP status code: NotFound. Content: {
"error": {
"message": "The model `text-davinci-003` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations",
"type": "invalid_request_error",
"param": null,
"code": "model_not_found"
}
}


在 OpenAI_API.EndpointBase.d__9.MoveNext()

--- 引发异常的上一位置中堆栈跟踪的末尾 ---

在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

在 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()

在 OpenAI_API.EndpointBase.d__11`1.MoveNext()

--- 引发异常的上一位置中堆栈跟踪的末尾 ---

在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

在 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()

在 OpenAI_API.EndpointBase.d__13`1.MoveNext()

--- 引发异常的上一位置中堆栈跟踪的末尾 ---

在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

在 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()

在 OpenAI_API.Completions.CompletionEndpoint.d__7.MoveNext()

--- 引发异常的上一位置中堆栈跟踪的末尾 ---

在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

在 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()

在 WebService.<>c__DisplayClass3_1.<b__0>d.MoveNext() 位置 C:\Websites\Linyuanle\WebService.asmx:行号 61

04-10

微信打开