tencentcloud-sdk-hunyuan 3.0.986 → 3.0.987

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fb73657dab1333271e1914daec2c2e172c91b5e3
4
- data.tar.gz: ecc4f4a78b6caadc2a3b8be189fbc44286743ddf
3
+ metadata.gz: 9df9f5272c0e096c2b26339a18cf4b20777de00a
4
+ data.tar.gz: 4302a9c5db892cf013f4c525468be49b4f5df338
5
5
  SHA512:
6
- metadata.gz: 4f8ba2c59b33d2072afd67372644c1c8cecb9234e2a0526e09b1e790542655b40d6c4cfc51d0dbde78561dff0560bfd2a8571f89b46f2b27cdeb6fef8a6176dd
7
- data.tar.gz: eda8471e10d4c8c12d70fd55f4d6002eef277a8ff1f05d3f3489994c45bc195d46cc0178b998edff2f211b2155e71a777c0a4801e99105bf818f39d93e6e14d6
6
+ metadata.gz: 9b3efe61bb61bef24beaf8a9575b2de4febd1c6d3e092dda7f1eab415f42419aea3ccaf76d467c0438d917e0b4a85973fad803979668f9bf47f7f6e0562725dd
7
+ data.tar.gz: ff6184cbf55616f6c98fc010ba4ea787a66d8e10b20d77e6324cb8677b781a3c41b7756f4cfadccfd59948758b3ef9b76f7ac8487704e3ebc08d363cbb2d735d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.986
1
+ 3.0.987
@@ -250,6 +250,9 @@ module TencentCloud
250
250
  # @type RequestId: String
251
251
 
252
252
  attr_accessor :Created, :Usage, :Note, :Id, :Choices, :ErrorMsg, :ModerationLevel, :SearchInfo, :Replaces, :RecommendedQuestions, :RequestId
253
+ extend Gem::Deprecate
254
+ deprecate :ModerationLevel, :none, 2025, 1
255
+ deprecate :ModerationLevel=, :none, 2025, 1
253
256
 
254
257
  def initialize(created=nil, usage=nil, note=nil, id=nil, choices=nil, errormsg=nil, moderationlevel=nil, searchinfo=nil, replaces=nil, recommendedquestions=nil, requestid=nil)
255
258
  @Created = created
@@ -436,14 +439,17 @@ module TencentCloud
436
439
  # @type Message: :class:`Tencentcloud::Hunyuan.v20230901.models.Message`
437
440
  # @param Index: 索引值,流式调用时使用该字段。
438
441
  # @type Index: Integer
442
+ # @param ModerationLevel: 多轮会话风险审核,值为1时,表明存在信息安全风险,建议终止客户多轮会话。
443
+ # @type ModerationLevel: String
439
444
 
440
- attr_accessor :FinishReason, :Delta, :Message, :Index
445
+ attr_accessor :FinishReason, :Delta, :Message, :Index, :ModerationLevel
441
446
 
442
- def initialize(finishreason=nil, delta=nil, message=nil, index=nil)
447
+ def initialize(finishreason=nil, delta=nil, message=nil, index=nil, moderationlevel=nil)
443
448
  @FinishReason = finishreason
444
449
  @Delta = delta
445
450
  @Message = message
446
451
  @Index = index
452
+ @ModerationLevel = moderationlevel
447
453
  end
448
454
 
449
455
  def deserialize(params)
@@ -457,6 +463,7 @@ module TencentCloud
457
463
  @Message.deserialize(params['Message'])
458
464
  end
459
465
  @Index = params['Index']
466
+ @ModerationLevel = params['ModerationLevel']
460
467
  end
461
468
  end
462
469
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-hunyuan
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.986
4
+ version: 3.0.987
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-01-20 00:00:00.000000000 Z
11
+ date: 2025-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common