tencentcloud-sdk-lke 3.0.1170 → 3.0.1177

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20231130/models.rb +75 -20
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 32335db87b507506204a465d4da18ac9b468e268
4
- data.tar.gz: 5d5731bd5fe49aa48cddd27cc167d130dc8e5847
3
+ metadata.gz: 62886aa74894d9a2742bbcb4d98044e574a7b32b
4
+ data.tar.gz: a587c01c2b1fba3bb61c4cb45aa7fd5985ca6bac
5
5
  SHA512:
6
- metadata.gz: 8cfa64ab6a58f0deef8bd235f1867f916d38c74108ba8e4bc7fa2d6181de10b6de26c7df06558f7befbba0b6406d7f32d85ecbd2cf7c897446e4189cd1411277
7
- data.tar.gz: 76f578964a4f72266b6a29c98fb801ef6c8411874d663debd798b8818d1ab145871ec82c665d9169cf49b7d2b049f07148eceef01ae726409811f4601792483f
6
+ metadata.gz: 9c3fcf56b5f2dfcd25cbaaa53428147481b14d1a74fea10677f551d4fdbb6d2718e1b01f165ec213dd915d38e552d4c26169ad7641f8d461d0c9a06eb70f6eaf
7
+ data.tar.gz: 363dc330afc326185d07b6166e7ddd7c80342fed6d2769b1f84d5ffedf149fd8b0303978df150ceab34acaf4f8eaa1c42d3291e5af197388568b8f59e7c36e67
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1170
1
+ 3.0.1177
@@ -213,6 +213,22 @@ module TencentCloud
213
213
  end
214
214
  end
215
215
 
216
+ # Agent转交高级设置
217
+ class AgentHandoffAdvancedSetting < TencentCloud::Common::AbstractModel
218
+ # @param ConversationPolicy: 对话流转策略;0-由上一轮回复用户的 Agent 继续发起,1- 回到主Agent
219
+ # @type ConversationPolicy: Integer
220
+
221
+ attr_accessor :ConversationPolicy
222
+
223
+ def initialize(conversationpolicy=nil)
224
+ @ConversationPolicy = conversationpolicy
225
+ end
226
+
227
+ def deserialize(params)
228
+ @ConversationPolicy = params['ConversationPolicy']
229
+ end
230
+ end
231
+
216
232
  # Agent输入值,支持直接赋值和引用
217
233
  class AgentInput < TencentCloud::Common::AbstractModel
218
234
  # @param InputType: 输入来源类型:0 用户输入,3 自定义变量(API参数)
@@ -1043,10 +1059,12 @@ module TencentCloud
1043
1059
  # @type FinanceStatus: Integer
1044
1060
  # @param ToolSource: 工具来源: 0-来自插件,1-来自工作流
1045
1061
  # @type ToolSource: Integer
1062
+ # @param FinanceType: 计费状态;0-不计费,1-限时免费,2-官方收费
1063
+ # @type FinanceType: Integer
1046
1064
 
1047
- attr_accessor :PluginId, :PluginName, :IconUrl, :PluginType, :ToolId, :ToolName, :ToolDesc, :Inputs, :Outputs, :CreateType, :McpServer, :IsBindingKnowledge, :Status, :Headers, :CallingMethod, :Query, :FinanceStatus, :ToolSource
1065
+ attr_accessor :PluginId, :PluginName, :IconUrl, :PluginType, :ToolId, :ToolName, :ToolDesc, :Inputs, :Outputs, :CreateType, :McpServer, :IsBindingKnowledge, :Status, :Headers, :CallingMethod, :Query, :FinanceStatus, :ToolSource, :FinanceType
1048
1066
 
1049
- def initialize(pluginid=nil, pluginname=nil, iconurl=nil, plugintype=nil, toolid=nil, toolname=nil, tooldesc=nil, inputs=nil, outputs=nil, createtype=nil, mcpserver=nil, isbindingknowledge=nil, status=nil, headers=nil, callingmethod=nil, query=nil, financestatus=nil, toolsource=nil)
1067
+ def initialize(pluginid=nil, pluginname=nil, iconurl=nil, plugintype=nil, toolid=nil, toolname=nil, tooldesc=nil, inputs=nil, outputs=nil, createtype=nil, mcpserver=nil, isbindingknowledge=nil, status=nil, headers=nil, callingmethod=nil, query=nil, financestatus=nil, toolsource=nil, financetype=nil)
1050
1068
  @PluginId = pluginid
1051
1069
  @PluginName = pluginname
1052
1070
  @IconUrl = iconurl
@@ -1065,6 +1083,7 @@ module TencentCloud
1065
1083
  @Query = query
1066
1084
  @FinanceStatus = financestatus
1067
1085
  @ToolSource = toolsource
1086
+ @FinanceType = financetype
1068
1087
  end
1069
1088
 
1070
1089
  def deserialize(params)
@@ -1117,6 +1136,7 @@ module TencentCloud
1117
1136
  end
1118
1137
  @FinanceStatus = params['FinanceStatus']
1119
1138
  @ToolSource = params['ToolSource']
1139
+ @FinanceType = params['FinanceType']
1120
1140
  end
1121
1141
  end
1122
1142
 
@@ -2602,8 +2622,8 @@ module TencentCloud
2602
2622
 
2603
2623
  attr_accessor :KnowledgeName, :KnowledgeDescription, :EmbeddingModel, :KnowledgeType
2604
2624
  extend Gem::Deprecate
2605
- deprecate :EmbeddingModel, :none, 2025, 11
2606
- deprecate :EmbeddingModel=, :none, 2025, 11
2625
+ deprecate :EmbeddingModel, :none, 2025, 12
2626
+ deprecate :EmbeddingModel=, :none, 2025, 12
2607
2627
 
2608
2628
  def initialize(knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil, knowledgetype=nil)
2609
2629
  @KnowledgeName = knowledgename
@@ -3234,14 +3254,17 @@ module TencentCloud
3234
3254
  # @type StaringAgentId: String
3235
3255
  # @param Agents: 应用Agent信息列表
3236
3256
  # @type Agents: Array
3257
+ # @param HandoffAdvancedSetting: Agent转交高级设置
3258
+ # @type HandoffAdvancedSetting: :class:`Tencentcloud::Lke.v20231130.models.AgentHandoffAdvancedSetting`
3237
3259
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3238
3260
  # @type RequestId: String
3239
3261
 
3240
- attr_accessor :StaringAgentId, :Agents, :RequestId
3262
+ attr_accessor :StaringAgentId, :Agents, :HandoffAdvancedSetting, :RequestId
3241
3263
 
3242
- def initialize(staringagentid=nil, agents=nil, requestid=nil)
3264
+ def initialize(staringagentid=nil, agents=nil, handoffadvancedsetting=nil, requestid=nil)
3243
3265
  @StaringAgentId = staringagentid
3244
3266
  @Agents = agents
3267
+ @HandoffAdvancedSetting = handoffadvancedsetting
3245
3268
  @RequestId = requestid
3246
3269
  end
3247
3270
 
@@ -3255,6 +3278,10 @@ module TencentCloud
3255
3278
  @Agents << agent_tmp
3256
3279
  end
3257
3280
  end
3281
+ unless params['HandoffAdvancedSetting'].nil?
3282
+ @HandoffAdvancedSetting = AgentHandoffAdvancedSetting.new
3283
+ @HandoffAdvancedSetting.deserialize(params['HandoffAdvancedSetting'])
3284
+ end
3258
3285
  @RequestId = params['RequestId']
3259
3286
  end
3260
3287
  end
@@ -4904,17 +4931,34 @@ module TencentCloud
4904
4931
  # @type AppBizId: String
4905
4932
  # @param WorkflowRunId: 工作流运行实例ID
4906
4933
  # @type WorkflowRunId: String
4907
-
4908
- attr_accessor :AppBizId, :WorkflowRunId
4909
-
4910
- def initialize(appbizid=nil, workflowrunid=nil)
4934
+ # @param SubWorkflowNodePath: 指定的子工作流对应的NodePath。
4935
+ # 格式:`[<node_id>[<index>].]*<node_id>[<index>]`
4936
+ # - 此路径用于定位一个具体的工作流实例(Workflow Run),可以是主工作流实例或某个子工作流节点产生的子实例。
4937
+ # - 路径由点号(.)分隔的节点标识符组成,每个节点标识符格式为 `节点ID[实例索引]`。
4938
+ # - **节点ID (node_id)**:子工作流所属的节点的ID。
4939
+ # - **实例索引 (index)**:“实例索引” 在工作流节点的时候为空,循环、批处理节点非空,从1开始。
4940
+ # 示例:
4941
+ # - "" 或 不设置 -> 查询主工作流实例 (父工作流)
4942
+ # - "node_id_a" -> 查询由主工作流中工作流节点`node_id_a`对应的子工作流实例
4943
+ # - "node_id_a.node_id_b[1]" -> 查询工作流节点`node_id_a`对应的子工作流的循环节点node_id_b的第1轮循环的子工作流运行状态
4944
+ # @type SubWorkflowNodePath: String
4945
+ # @param IncludeWorkflowGraph: 是否需要返回工作流的流程图配置
4946
+ # @type IncludeWorkflowGraph: Boolean
4947
+
4948
+ attr_accessor :AppBizId, :WorkflowRunId, :SubWorkflowNodePath, :IncludeWorkflowGraph
4949
+
4950
+ def initialize(appbizid=nil, workflowrunid=nil, subworkflownodepath=nil, includeworkflowgraph=nil)
4911
4951
  @AppBizId = appbizid
4912
4952
  @WorkflowRunId = workflowrunid
4953
+ @SubWorkflowNodePath = subworkflownodepath
4954
+ @IncludeWorkflowGraph = includeworkflowgraph
4913
4955
  end
4914
4956
 
4915
4957
  def deserialize(params)
4916
4958
  @AppBizId = params['AppBizId']
4917
4959
  @WorkflowRunId = params['WorkflowRunId']
4960
+ @SubWorkflowNodePath = params['SubWorkflowNodePath']
4961
+ @IncludeWorkflowGraph = params['IncludeWorkflowGraph']
4918
4962
  end
4919
4963
  end
4920
4964
 
@@ -4924,14 +4968,17 @@ module TencentCloud
4924
4968
  # @type WorkflowRun: :class:`Tencentcloud::Lke.v20231130.models.WorkflowRunDetail`
4925
4969
  # @param NodeRuns: 节点列表
4926
4970
  # @type NodeRuns: Array
4971
+ # @param SubWorkflowNodePath: 子工作流对应的NodePath
4972
+ # @type SubWorkflowNodePath: String
4927
4973
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4928
4974
  # @type RequestId: String
4929
4975
 
4930
- attr_accessor :WorkflowRun, :NodeRuns, :RequestId
4976
+ attr_accessor :WorkflowRun, :NodeRuns, :SubWorkflowNodePath, :RequestId
4931
4977
 
4932
- def initialize(workflowrun=nil, noderuns=nil, requestid=nil)
4978
+ def initialize(workflowrun=nil, noderuns=nil, subworkflownodepath=nil, requestid=nil)
4933
4979
  @WorkflowRun = workflowrun
4934
4980
  @NodeRuns = noderuns
4981
+ @SubWorkflowNodePath = subworkflownodepath
4935
4982
  @RequestId = requestid
4936
4983
  end
4937
4984
 
@@ -4948,6 +4995,7 @@ module TencentCloud
4948
4995
  @NodeRuns << noderunbase_tmp
4949
4996
  end
4950
4997
  end
4998
+ @SubWorkflowNodePath = params['SubWorkflowNodePath']
4951
4999
  @RequestId = params['RequestId']
4952
5000
  end
4953
5001
  end
@@ -7063,10 +7111,10 @@ module TencentCloud
7063
7111
 
7064
7112
  attr_accessor :KnowledgeName, :KnowledgeDescription, :EmbeddingModel, :QaExtractModel, :OwnerStaffId
7065
7113
  extend Gem::Deprecate
7066
- deprecate :EmbeddingModel, :none, 2025, 11
7067
- deprecate :EmbeddingModel=, :none, 2025, 11
7068
- deprecate :QaExtractModel, :none, 2025, 11
7069
- deprecate :QaExtractModel=, :none, 2025, 11
7114
+ deprecate :EmbeddingModel, :none, 2025, 12
7115
+ deprecate :EmbeddingModel=, :none, 2025, 12
7116
+ deprecate :QaExtractModel, :none, 2025, 12
7117
+ deprecate :QaExtractModel=, :none, 2025, 12
7070
7118
 
7071
7119
  def initialize(knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil, qaextractmodel=nil, ownerstaffid=nil)
7072
7120
  @KnowledgeName = knowledgename
@@ -7347,8 +7395,8 @@ module TencentCloud
7347
7395
 
7348
7396
  attr_accessor :AppBizId, :BotBizId, :PageNumber, :PageSize, :ChannelType, :ChannelStatus
7349
7397
  extend Gem::Deprecate
7350
- deprecate :BotBizId, :none, 2025, 11
7351
- deprecate :BotBizId=, :none, 2025, 11
7398
+ deprecate :BotBizId, :none, 2025, 12
7399
+ deprecate :BotBizId=, :none, 2025, 12
7352
7400
 
7353
7401
  def initialize(appbizid=nil, botbizid=nil, pagenumber=nil, pagesize=nil, channeltype=nil, channelstatus=nil)
7354
7402
  @AppBizId = appbizid
@@ -12875,10 +12923,15 @@ module TencentCloud
12875
12923
  # @type MainModelName: String
12876
12924
  # @param CustomVariables: API参数配置
12877
12925
  # @type CustomVariables: Array
12926
+ # @param WorkflowGraph: 工作流的流程图
12927
+ # @type WorkflowGraph: String
12878
12928
 
12879
- attr_accessor :RunEnv, :AppBizId, :WorkflowRunId, :WorkflowId, :Name, :Output, :State, :FailMessage, :TotalTokens, :CreateTime, :StartTime, :EndTime, :DialogJson, :Query, :MainModelName, :CustomVariables
12929
+ attr_accessor :RunEnv, :AppBizId, :WorkflowRunId, :WorkflowId, :Name, :Output, :State, :FailMessage, :TotalTokens, :CreateTime, :StartTime, :EndTime, :DialogJson, :Query, :MainModelName, :CustomVariables, :WorkflowGraph
12930
+ extend Gem::Deprecate
12931
+ deprecate :DialogJson, :none, 2025, 12
12932
+ deprecate :DialogJson=, :none, 2025, 12
12880
12933
 
12881
- def initialize(runenv=nil, appbizid=nil, workflowrunid=nil, workflowid=nil, name=nil, output=nil, state=nil, failmessage=nil, totaltokens=nil, createtime=nil, starttime=nil, endtime=nil, dialogjson=nil, query=nil, mainmodelname=nil, customvariables=nil)
12934
+ def initialize(runenv=nil, appbizid=nil, workflowrunid=nil, workflowid=nil, name=nil, output=nil, state=nil, failmessage=nil, totaltokens=nil, createtime=nil, starttime=nil, endtime=nil, dialogjson=nil, query=nil, mainmodelname=nil, customvariables=nil, workflowgraph=nil)
12882
12935
  @RunEnv = runenv
12883
12936
  @AppBizId = appbizid
12884
12937
  @WorkflowRunId = workflowrunid
@@ -12895,6 +12948,7 @@ module TencentCloud
12895
12948
  @Query = query
12896
12949
  @MainModelName = mainmodelname
12897
12950
  @CustomVariables = customvariables
12951
+ @WorkflowGraph = workflowgraph
12898
12952
  end
12899
12953
 
12900
12954
  def deserialize(params)
@@ -12921,6 +12975,7 @@ module TencentCloud
12921
12975
  @CustomVariables << customvariable_tmp
12922
12976
  end
12923
12977
  end
12978
+ @WorkflowGraph = params['WorkflowGraph']
12924
12979
  end
12925
12980
  end
12926
12981
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-lke
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1170
4
+ version: 3.0.1177
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-19 00:00:00.000000000 Z
11
+ date: 2025-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-lke.rb
37
36
  - lib/v20231130/client.rb
38
37
  - lib/v20231130/models.rb
38
+ - lib/tencentcloud-sdk-lke.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: