From a95131efe937f4fdfca7cc2a026f62ec85074662 Mon Sep 17 00:00:00 2001 From: Chason Date: Thu, 9 May 2024 17:41:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E7=94=A8function=E6=97=B6=20?= =?UTF-8?q?=E6=8A=A5=E9=94=99=20jsonbody=20=E5=8F=82=E6=95=B0=E4=B8=8D?= =?UTF-8?q?=E5=AD=98=E5=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit KernelParameterMetadata 的构造函数已指定参数名 jsonbody, 后续却又将参数名改为 json参数字符串 --- src/AntSK.Domain/Domain/Service/KernelService.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/AntSK.Domain/Domain/Service/KernelService.cs b/src/AntSK.Domain/Domain/Service/KernelService.cs index 3544eea..cb0e570 100644 --- a/src/AntSK.Domain/Domain/Service/KernelService.cs +++ b/src/AntSK.Domain/Domain/Service/KernelService.cs @@ -178,7 +178,6 @@ namespace AntSK.Domain.Domain.Service var getParametes = new List() { new KernelParameterMetadata("jsonbody"){ - Name="json参数字符串", ParameterType=typeof(string), Description=$"背景文档:{Environment.NewLine}{api.InputPrompt} {Environment.NewLine}提取出对应的json格式字符串,参考如下格式:{Environment.NewLine}{api.Query}" } @@ -217,7 +216,6 @@ namespace AntSK.Domain.Domain.Service //处理json body var postParametes = new List() { new KernelParameterMetadata("jsonbody"){ - Name="json参数字符串", ParameterType=typeof(string), Description=$"背景文档:{Environment.NewLine}{api.InputPrompt} {Environment.NewLine}提取出对应的json格式字符串,参考如下格式:{Environment.NewLine}{api.JsonBody}" }