tencentcloud-sdk-python-lke 3.1.90__tar.gz → 3.1.93__tar.gz
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.
- {tencentcloud_sdk_python_lke-3.1.90 → tencentcloud_sdk_python_lke-3.1.93}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_lke-3.1.90 → tencentcloud_sdk_python_lke-3.1.93}/setup.py +1 -1
- {tencentcloud_sdk_python_lke-3.1.90 → tencentcloud_sdk_python_lke-3.1.93}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_lke-3.1.90 → tencentcloud_sdk_python_lke-3.1.93}/tencentcloud/lke/v20231130/models.py +161 -60
- {tencentcloud_sdk_python_lke-3.1.90 → tencentcloud_sdk_python_lke-3.1.93}/tencentcloud_sdk_python_lke.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_lke-3.1.93/tencentcloud_sdk_python_lke.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_lke-3.1.90/tencentcloud_sdk_python_lke.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_lke-3.1.90 → tencentcloud_sdk_python_lke-3.1.93}/README.rst +0 -0
- {tencentcloud_sdk_python_lke-3.1.90 → tencentcloud_sdk_python_lke-3.1.93}/setup.cfg +0 -0
- {tencentcloud_sdk_python_lke-3.1.90 → tencentcloud_sdk_python_lke-3.1.93}/tencentcloud/lke/__init__.py +0 -0
- {tencentcloud_sdk_python_lke-3.1.90 → tencentcloud_sdk_python_lke-3.1.93}/tencentcloud/lke/v20231130/__init__.py +0 -0
- {tencentcloud_sdk_python_lke-3.1.90 → tencentcloud_sdk_python_lke-3.1.93}/tencentcloud/lke/v20231130/errorcodes.py +0 -0
- {tencentcloud_sdk_python_lke-3.1.90 → tencentcloud_sdk_python_lke-3.1.93}/tencentcloud/lke/v20231130/lke_client.py +0 -0
- {tencentcloud_sdk_python_lke-3.1.90 → tencentcloud_sdk_python_lke-3.1.93}/tencentcloud/lke/v20231130/lke_client_async.py +0 -0
- {tencentcloud_sdk_python_lke-3.1.90 → tencentcloud_sdk_python_lke-3.1.93}/tencentcloud_sdk_python_lke.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_lke-3.1.90 → tencentcloud_sdk_python_lke-3.1.93}/tencentcloud_sdk_python_lke.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_lke-3.1.90 → tencentcloud_sdk_python_lke-3.1.93}/tencentcloud_sdk_python_lke.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-lke
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.93
|
|
4
4
|
Summary: Tencent Cloud Lke SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.93
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-lke',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.93,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Lke SDK for Python',
|
|
@@ -1759,6 +1759,16 @@ class AgentPluginInfo(AbstractModel):
|
|
|
1759
1759
|
:type Query: list of AgentPluginQuery
|
|
1760
1760
|
:param _McpType: <p>MCP类型</p><p>枚举值:</p><ul><li>0: SSE 模式</li><li>1: Streamable Http 模式</li></ul>
|
|
1761
1761
|
:type McpType: int
|
|
1762
|
+
:param _AuthMode: <p>OAuth授权主体</p><p>枚举值:</p><ul><li>0: 开发者授权</li><li>1: 使用者授权</li></ul>
|
|
1763
|
+
:type AuthMode: int
|
|
1764
|
+
:param _AuthType: <p>授权方式</p><p>枚举值:</p><ul><li>0: 无鉴权</li><li>1: api key鉴权</li><li>2: 支持CAM授权</li><li>3: 支持Oauth2.0授权</li></ul>
|
|
1765
|
+
:type AuthType: int
|
|
1766
|
+
:param _AuthConfigStatus: <p>授权配置状态</p><p>枚举值:</p><ul><li>0: 不需要授权</li><li>1: 未配置</li><li>2: 已配置</li></ul>
|
|
1767
|
+
:type AuthConfigStatus: int
|
|
1768
|
+
:param _PluginClass: <p>插件用途类型</p><p>枚举值:</p><ul><li>0: 工具类</li><li>1: 连接器类</li></ul>
|
|
1769
|
+
:type PluginClass: int
|
|
1770
|
+
:param _PluginStatus: <p>插件状态</p><p>枚举值:</p><ul><li>1: 成功</li><li>2: 不可用</li></ul>
|
|
1771
|
+
:type PluginStatus: int
|
|
1762
1772
|
"""
|
|
1763
1773
|
self._PluginId = None
|
|
1764
1774
|
self._Headers = None
|
|
@@ -1768,6 +1778,11 @@ class AgentPluginInfo(AbstractModel):
|
|
|
1768
1778
|
self._EnableRoleAuth = None
|
|
1769
1779
|
self._Query = None
|
|
1770
1780
|
self._McpType = None
|
|
1781
|
+
self._AuthMode = None
|
|
1782
|
+
self._AuthType = None
|
|
1783
|
+
self._AuthConfigStatus = None
|
|
1784
|
+
self._PluginClass = None
|
|
1785
|
+
self._PluginStatus = None
|
|
1771
1786
|
|
|
1772
1787
|
@property
|
|
1773
1788
|
def PluginId(self):
|
|
@@ -1860,6 +1875,61 @@ class AgentPluginInfo(AbstractModel):
|
|
|
1860
1875
|
def McpType(self, McpType):
|
|
1861
1876
|
self._McpType = McpType
|
|
1862
1877
|
|
|
1878
|
+
@property
|
|
1879
|
+
def AuthMode(self):
|
|
1880
|
+
r"""<p>OAuth授权主体</p><p>枚举值:</p><ul><li>0: 开发者授权</li><li>1: 使用者授权</li></ul>
|
|
1881
|
+
:rtype: int
|
|
1882
|
+
"""
|
|
1883
|
+
return self._AuthMode
|
|
1884
|
+
|
|
1885
|
+
@AuthMode.setter
|
|
1886
|
+
def AuthMode(self, AuthMode):
|
|
1887
|
+
self._AuthMode = AuthMode
|
|
1888
|
+
|
|
1889
|
+
@property
|
|
1890
|
+
def AuthType(self):
|
|
1891
|
+
r"""<p>授权方式</p><p>枚举值:</p><ul><li>0: 无鉴权</li><li>1: api key鉴权</li><li>2: 支持CAM授权</li><li>3: 支持Oauth2.0授权</li></ul>
|
|
1892
|
+
:rtype: int
|
|
1893
|
+
"""
|
|
1894
|
+
return self._AuthType
|
|
1895
|
+
|
|
1896
|
+
@AuthType.setter
|
|
1897
|
+
def AuthType(self, AuthType):
|
|
1898
|
+
self._AuthType = AuthType
|
|
1899
|
+
|
|
1900
|
+
@property
|
|
1901
|
+
def AuthConfigStatus(self):
|
|
1902
|
+
r"""<p>授权配置状态</p><p>枚举值:</p><ul><li>0: 不需要授权</li><li>1: 未配置</li><li>2: 已配置</li></ul>
|
|
1903
|
+
:rtype: int
|
|
1904
|
+
"""
|
|
1905
|
+
return self._AuthConfigStatus
|
|
1906
|
+
|
|
1907
|
+
@AuthConfigStatus.setter
|
|
1908
|
+
def AuthConfigStatus(self, AuthConfigStatus):
|
|
1909
|
+
self._AuthConfigStatus = AuthConfigStatus
|
|
1910
|
+
|
|
1911
|
+
@property
|
|
1912
|
+
def PluginClass(self):
|
|
1913
|
+
r"""<p>插件用途类型</p><p>枚举值:</p><ul><li>0: 工具类</li><li>1: 连接器类</li></ul>
|
|
1914
|
+
:rtype: int
|
|
1915
|
+
"""
|
|
1916
|
+
return self._PluginClass
|
|
1917
|
+
|
|
1918
|
+
@PluginClass.setter
|
|
1919
|
+
def PluginClass(self, PluginClass):
|
|
1920
|
+
self._PluginClass = PluginClass
|
|
1921
|
+
|
|
1922
|
+
@property
|
|
1923
|
+
def PluginStatus(self):
|
|
1924
|
+
r"""<p>插件状态</p><p>枚举值:</p><ul><li>1: 成功</li><li>2: 不可用</li></ul>
|
|
1925
|
+
:rtype: int
|
|
1926
|
+
"""
|
|
1927
|
+
return self._PluginStatus
|
|
1928
|
+
|
|
1929
|
+
@PluginStatus.setter
|
|
1930
|
+
def PluginStatus(self, PluginStatus):
|
|
1931
|
+
self._PluginStatus = PluginStatus
|
|
1932
|
+
|
|
1863
1933
|
|
|
1864
1934
|
def _deserialize(self, params):
|
|
1865
1935
|
self._PluginId = params.get("PluginId")
|
|
@@ -1884,6 +1954,11 @@ class AgentPluginInfo(AbstractModel):
|
|
|
1884
1954
|
obj._deserialize(item)
|
|
1885
1955
|
self._Query.append(obj)
|
|
1886
1956
|
self._McpType = params.get("McpType")
|
|
1957
|
+
self._AuthMode = params.get("AuthMode")
|
|
1958
|
+
self._AuthType = params.get("AuthType")
|
|
1959
|
+
self._AuthConfigStatus = params.get("AuthConfigStatus")
|
|
1960
|
+
self._PluginClass = params.get("PluginClass")
|
|
1961
|
+
self._PluginStatus = params.get("PluginStatus")
|
|
1887
1962
|
memeber_set = set(params.keys())
|
|
1888
1963
|
for name, value in vars(self).items():
|
|
1889
1964
|
property_name = name[1:]
|
|
@@ -2902,55 +2977,57 @@ class AgentToolInfo(AbstractModel):
|
|
|
2902
2977
|
|
|
2903
2978
|
def __init__(self):
|
|
2904
2979
|
r"""
|
|
2905
|
-
:param _PluginId:
|
|
2980
|
+
:param _PluginId: <p>插件id</p>
|
|
2906
2981
|
:type PluginId: str
|
|
2907
|
-
:param _PluginName:
|
|
2982
|
+
:param _PluginName: <p>插件名称</p>
|
|
2908
2983
|
:type PluginName: str
|
|
2909
|
-
:param _IconUrl:
|
|
2984
|
+
:param _IconUrl: <p>插件图标url</p>
|
|
2910
2985
|
:type IconUrl: str
|
|
2911
|
-
:param _PluginType: 0
|
|
2912
|
-
1 官方插件
|
|
2913
|
-
2 第三方插件 目前用于第三方实现的mcp server
|
|
2986
|
+
:param _PluginType: <p>0 自定义插件<br>1 官方插件<br>2 第三方插件 目前用于第三方实现的mcp server</p>
|
|
2914
2987
|
:type PluginType: int
|
|
2915
|
-
:param _ToolId:
|
|
2988
|
+
:param _ToolId: <p>工具id</p>
|
|
2916
2989
|
:type ToolId: str
|
|
2917
|
-
:param _ToolName:
|
|
2990
|
+
:param _ToolName: <p>工具名称</p>
|
|
2918
2991
|
:type ToolName: str
|
|
2919
|
-
:param _ToolDesc:
|
|
2992
|
+
:param _ToolDesc: <p>工具描述</p>
|
|
2920
2993
|
:type ToolDesc: str
|
|
2921
|
-
:param _Inputs:
|
|
2994
|
+
:param _Inputs: <p>输入参数</p>
|
|
2922
2995
|
:type Inputs: list of AgentToolReqParam
|
|
2923
|
-
:param _Outputs:
|
|
2996
|
+
:param _Outputs: <p>输出参数</p>
|
|
2924
2997
|
:type Outputs: list of AgentToolRspParam
|
|
2925
|
-
:param _CreateType:
|
|
2998
|
+
:param _CreateType: <p>创建方式,0:服务创建,1:代码创建,2:MCP创建</p>
|
|
2926
2999
|
:type CreateType: int
|
|
2927
|
-
:param _McpServer: MCP
|
|
3000
|
+
:param _McpServer: <p>MCP插件的配置信息</p>
|
|
2928
3001
|
:type McpServer: :class:`tencentcloud.lke.v20231130.models.AgentMCPServerInfo`
|
|
2929
|
-
:param _IsBindingKnowledge:
|
|
3002
|
+
:param _IsBindingKnowledge: <p>该工具是否和知识库绑定</p>
|
|
2930
3003
|
:type IsBindingKnowledge: bool
|
|
2931
|
-
:param _Status:
|
|
3004
|
+
:param _Status: <p>插件状态,1:可用,2:不可用</p>
|
|
2932
3005
|
:type Status: int
|
|
2933
|
-
:param _Headers: header
|
|
3006
|
+
:param _Headers: <p>header信息</p>
|
|
2934
3007
|
:type Headers: list of AgentPluginHeader
|
|
2935
|
-
:param _CallingMethod: NON_STREAMING: 非流式 STREAMIN:
|
|
3008
|
+
:param _CallingMethod: <p>NON_STREAMING: 非流式 STREAMIN: 流式</p>
|
|
2936
3009
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2937
3010
|
:type CallingMethod: str
|
|
2938
|
-
:param _Query: query
|
|
3011
|
+
:param _Query: <p>query信息</p>
|
|
2939
3012
|
:type Query: list of AgentPluginQuery
|
|
2940
|
-
:param _FinanceStatus:
|
|
3013
|
+
:param _FinanceStatus: <p>工具计费状态 0-不计费 1-可用 2-不可用(欠费、无资源等)</p>
|
|
2941
3014
|
:type FinanceStatus: int
|
|
2942
|
-
:param _ToolSource:
|
|
3015
|
+
:param _ToolSource: <p>工具来源: 0-来自插件,1-来自工作流</p>
|
|
2943
3016
|
:type ToolSource: int
|
|
2944
|
-
:param _FinanceType:
|
|
3017
|
+
:param _FinanceType: <p>计费状态;0-不计费,1-限时免费,2-官方收费</p>
|
|
2945
3018
|
:type FinanceType: int
|
|
2946
|
-
:param _ToolAdvanceConfig:
|
|
3019
|
+
:param _ToolAdvanceConfig: <p>工具高级设置</p>
|
|
2947
3020
|
:type ToolAdvanceConfig: :class:`tencentcloud.lke.v20231130.models.ToolAdvanceConfig`
|
|
2948
|
-
:param _AuthMode:
|
|
3021
|
+
:param _AuthMode: <p>授权模式; 0-开发者授权;1-使用者授权</p>
|
|
2949
3022
|
:type AuthMode: int
|
|
2950
|
-
:param _AuthType:
|
|
3023
|
+
:param _AuthType: <p>授权类型; 0-无鉴权;1-APIKey;2-CAM授权;3-Oauth2.0授权;</p>
|
|
2951
3024
|
:type AuthType: int
|
|
2952
|
-
:param _AuthConfigStatus:
|
|
3025
|
+
:param _AuthConfigStatus: <p>工具授权配置状态;0:不需要授权,1:需要授权-未配置,2:需要授权-已配置</p>
|
|
2953
3026
|
:type AuthConfigStatus: int
|
|
3027
|
+
:param _ToolAccessMode: <p>连接器工具 API 类型</p><p>枚举值:</p><ul><li>1: 只读</li><li>2: 写/删除</li></ul>
|
|
3028
|
+
:type ToolAccessMode: int
|
|
3029
|
+
:param _IsDisabled: <p>是否禁用该工具</p>
|
|
3030
|
+
:type IsDisabled: bool
|
|
2954
3031
|
"""
|
|
2955
3032
|
self._PluginId = None
|
|
2956
3033
|
self._PluginName = None
|
|
@@ -2975,10 +3052,12 @@ class AgentToolInfo(AbstractModel):
|
|
|
2975
3052
|
self._AuthMode = None
|
|
2976
3053
|
self._AuthType = None
|
|
2977
3054
|
self._AuthConfigStatus = None
|
|
3055
|
+
self._ToolAccessMode = None
|
|
3056
|
+
self._IsDisabled = None
|
|
2978
3057
|
|
|
2979
3058
|
@property
|
|
2980
3059
|
def PluginId(self):
|
|
2981
|
-
r"""
|
|
3060
|
+
r"""<p>插件id</p>
|
|
2982
3061
|
:rtype: str
|
|
2983
3062
|
"""
|
|
2984
3063
|
return self._PluginId
|
|
@@ -2989,7 +3068,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
2989
3068
|
|
|
2990
3069
|
@property
|
|
2991
3070
|
def PluginName(self):
|
|
2992
|
-
r"""
|
|
3071
|
+
r"""<p>插件名称</p>
|
|
2993
3072
|
:rtype: str
|
|
2994
3073
|
"""
|
|
2995
3074
|
return self._PluginName
|
|
@@ -3000,7 +3079,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
3000
3079
|
|
|
3001
3080
|
@property
|
|
3002
3081
|
def IconUrl(self):
|
|
3003
|
-
r"""
|
|
3082
|
+
r"""<p>插件图标url</p>
|
|
3004
3083
|
:rtype: str
|
|
3005
3084
|
"""
|
|
3006
3085
|
return self._IconUrl
|
|
@@ -3011,9 +3090,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
3011
3090
|
|
|
3012
3091
|
@property
|
|
3013
3092
|
def PluginType(self):
|
|
3014
|
-
r"""0
|
|
3015
|
-
1 官方插件
|
|
3016
|
-
2 第三方插件 目前用于第三方实现的mcp server
|
|
3093
|
+
r"""<p>0 自定义插件<br>1 官方插件<br>2 第三方插件 目前用于第三方实现的mcp server</p>
|
|
3017
3094
|
:rtype: int
|
|
3018
3095
|
"""
|
|
3019
3096
|
return self._PluginType
|
|
@@ -3024,7 +3101,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
3024
3101
|
|
|
3025
3102
|
@property
|
|
3026
3103
|
def ToolId(self):
|
|
3027
|
-
r"""
|
|
3104
|
+
r"""<p>工具id</p>
|
|
3028
3105
|
:rtype: str
|
|
3029
3106
|
"""
|
|
3030
3107
|
return self._ToolId
|
|
@@ -3035,7 +3112,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
3035
3112
|
|
|
3036
3113
|
@property
|
|
3037
3114
|
def ToolName(self):
|
|
3038
|
-
r"""
|
|
3115
|
+
r"""<p>工具名称</p>
|
|
3039
3116
|
:rtype: str
|
|
3040
3117
|
"""
|
|
3041
3118
|
return self._ToolName
|
|
@@ -3046,7 +3123,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
3046
3123
|
|
|
3047
3124
|
@property
|
|
3048
3125
|
def ToolDesc(self):
|
|
3049
|
-
r"""
|
|
3126
|
+
r"""<p>工具描述</p>
|
|
3050
3127
|
:rtype: str
|
|
3051
3128
|
"""
|
|
3052
3129
|
return self._ToolDesc
|
|
@@ -3057,7 +3134,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
3057
3134
|
|
|
3058
3135
|
@property
|
|
3059
3136
|
def Inputs(self):
|
|
3060
|
-
r"""
|
|
3137
|
+
r"""<p>输入参数</p>
|
|
3061
3138
|
:rtype: list of AgentToolReqParam
|
|
3062
3139
|
"""
|
|
3063
3140
|
return self._Inputs
|
|
@@ -3068,7 +3145,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
3068
3145
|
|
|
3069
3146
|
@property
|
|
3070
3147
|
def Outputs(self):
|
|
3071
|
-
r"""
|
|
3148
|
+
r"""<p>输出参数</p>
|
|
3072
3149
|
:rtype: list of AgentToolRspParam
|
|
3073
3150
|
"""
|
|
3074
3151
|
return self._Outputs
|
|
@@ -3079,7 +3156,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
3079
3156
|
|
|
3080
3157
|
@property
|
|
3081
3158
|
def CreateType(self):
|
|
3082
|
-
r"""
|
|
3159
|
+
r"""<p>创建方式,0:服务创建,1:代码创建,2:MCP创建</p>
|
|
3083
3160
|
:rtype: int
|
|
3084
3161
|
"""
|
|
3085
3162
|
return self._CreateType
|
|
@@ -3090,7 +3167,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
3090
3167
|
|
|
3091
3168
|
@property
|
|
3092
3169
|
def McpServer(self):
|
|
3093
|
-
r"""MCP
|
|
3170
|
+
r"""<p>MCP插件的配置信息</p>
|
|
3094
3171
|
:rtype: :class:`tencentcloud.lke.v20231130.models.AgentMCPServerInfo`
|
|
3095
3172
|
"""
|
|
3096
3173
|
return self._McpServer
|
|
@@ -3101,7 +3178,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
3101
3178
|
|
|
3102
3179
|
@property
|
|
3103
3180
|
def IsBindingKnowledge(self):
|
|
3104
|
-
r"""
|
|
3181
|
+
r"""<p>该工具是否和知识库绑定</p>
|
|
3105
3182
|
:rtype: bool
|
|
3106
3183
|
"""
|
|
3107
3184
|
return self._IsBindingKnowledge
|
|
@@ -3112,7 +3189,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
3112
3189
|
|
|
3113
3190
|
@property
|
|
3114
3191
|
def Status(self):
|
|
3115
|
-
r"""
|
|
3192
|
+
r"""<p>插件状态,1:可用,2:不可用</p>
|
|
3116
3193
|
:rtype: int
|
|
3117
3194
|
"""
|
|
3118
3195
|
return self._Status
|
|
@@ -3123,7 +3200,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
3123
3200
|
|
|
3124
3201
|
@property
|
|
3125
3202
|
def Headers(self):
|
|
3126
|
-
r"""header
|
|
3203
|
+
r"""<p>header信息</p>
|
|
3127
3204
|
:rtype: list of AgentPluginHeader
|
|
3128
3205
|
"""
|
|
3129
3206
|
return self._Headers
|
|
@@ -3134,7 +3211,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
3134
3211
|
|
|
3135
3212
|
@property
|
|
3136
3213
|
def CallingMethod(self):
|
|
3137
|
-
r"""NON_STREAMING: 非流式 STREAMIN:
|
|
3214
|
+
r"""<p>NON_STREAMING: 非流式 STREAMIN: 流式</p>
|
|
3138
3215
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3139
3216
|
:rtype: str
|
|
3140
3217
|
"""
|
|
@@ -3146,7 +3223,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
3146
3223
|
|
|
3147
3224
|
@property
|
|
3148
3225
|
def Query(self):
|
|
3149
|
-
r"""query
|
|
3226
|
+
r"""<p>query信息</p>
|
|
3150
3227
|
:rtype: list of AgentPluginQuery
|
|
3151
3228
|
"""
|
|
3152
3229
|
return self._Query
|
|
@@ -3157,7 +3234,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
3157
3234
|
|
|
3158
3235
|
@property
|
|
3159
3236
|
def FinanceStatus(self):
|
|
3160
|
-
r"""
|
|
3237
|
+
r"""<p>工具计费状态 0-不计费 1-可用 2-不可用(欠费、无资源等)</p>
|
|
3161
3238
|
:rtype: int
|
|
3162
3239
|
"""
|
|
3163
3240
|
return self._FinanceStatus
|
|
@@ -3168,7 +3245,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
3168
3245
|
|
|
3169
3246
|
@property
|
|
3170
3247
|
def ToolSource(self):
|
|
3171
|
-
r"""
|
|
3248
|
+
r"""<p>工具来源: 0-来自插件,1-来自工作流</p>
|
|
3172
3249
|
:rtype: int
|
|
3173
3250
|
"""
|
|
3174
3251
|
return self._ToolSource
|
|
@@ -3179,7 +3256,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
3179
3256
|
|
|
3180
3257
|
@property
|
|
3181
3258
|
def FinanceType(self):
|
|
3182
|
-
r"""
|
|
3259
|
+
r"""<p>计费状态;0-不计费,1-限时免费,2-官方收费</p>
|
|
3183
3260
|
:rtype: int
|
|
3184
3261
|
"""
|
|
3185
3262
|
return self._FinanceType
|
|
@@ -3190,7 +3267,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
3190
3267
|
|
|
3191
3268
|
@property
|
|
3192
3269
|
def ToolAdvanceConfig(self):
|
|
3193
|
-
r"""
|
|
3270
|
+
r"""<p>工具高级设置</p>
|
|
3194
3271
|
:rtype: :class:`tencentcloud.lke.v20231130.models.ToolAdvanceConfig`
|
|
3195
3272
|
"""
|
|
3196
3273
|
return self._ToolAdvanceConfig
|
|
@@ -3201,7 +3278,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
3201
3278
|
|
|
3202
3279
|
@property
|
|
3203
3280
|
def AuthMode(self):
|
|
3204
|
-
r"""
|
|
3281
|
+
r"""<p>授权模式; 0-开发者授权;1-使用者授权</p>
|
|
3205
3282
|
:rtype: int
|
|
3206
3283
|
"""
|
|
3207
3284
|
return self._AuthMode
|
|
@@ -3212,7 +3289,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
3212
3289
|
|
|
3213
3290
|
@property
|
|
3214
3291
|
def AuthType(self):
|
|
3215
|
-
r"""
|
|
3292
|
+
r"""<p>授权类型; 0-无鉴权;1-APIKey;2-CAM授权;3-Oauth2.0授权;</p>
|
|
3216
3293
|
:rtype: int
|
|
3217
3294
|
"""
|
|
3218
3295
|
return self._AuthType
|
|
@@ -3223,7 +3300,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
3223
3300
|
|
|
3224
3301
|
@property
|
|
3225
3302
|
def AuthConfigStatus(self):
|
|
3226
|
-
r"""
|
|
3303
|
+
r"""<p>工具授权配置状态;0:不需要授权,1:需要授权-未配置,2:需要授权-已配置</p>
|
|
3227
3304
|
:rtype: int
|
|
3228
3305
|
"""
|
|
3229
3306
|
return self._AuthConfigStatus
|
|
@@ -3232,6 +3309,28 @@ class AgentToolInfo(AbstractModel):
|
|
|
3232
3309
|
def AuthConfigStatus(self, AuthConfigStatus):
|
|
3233
3310
|
self._AuthConfigStatus = AuthConfigStatus
|
|
3234
3311
|
|
|
3312
|
+
@property
|
|
3313
|
+
def ToolAccessMode(self):
|
|
3314
|
+
r"""<p>连接器工具 API 类型</p><p>枚举值:</p><ul><li>1: 只读</li><li>2: 写/删除</li></ul>
|
|
3315
|
+
:rtype: int
|
|
3316
|
+
"""
|
|
3317
|
+
return self._ToolAccessMode
|
|
3318
|
+
|
|
3319
|
+
@ToolAccessMode.setter
|
|
3320
|
+
def ToolAccessMode(self, ToolAccessMode):
|
|
3321
|
+
self._ToolAccessMode = ToolAccessMode
|
|
3322
|
+
|
|
3323
|
+
@property
|
|
3324
|
+
def IsDisabled(self):
|
|
3325
|
+
r"""<p>是否禁用该工具</p>
|
|
3326
|
+
:rtype: bool
|
|
3327
|
+
"""
|
|
3328
|
+
return self._IsDisabled
|
|
3329
|
+
|
|
3330
|
+
@IsDisabled.setter
|
|
3331
|
+
def IsDisabled(self, IsDisabled):
|
|
3332
|
+
self._IsDisabled = IsDisabled
|
|
3333
|
+
|
|
3235
3334
|
|
|
3236
3335
|
def _deserialize(self, params):
|
|
3237
3336
|
self._PluginId = params.get("PluginId")
|
|
@@ -3281,6 +3380,8 @@ class AgentToolInfo(AbstractModel):
|
|
|
3281
3380
|
self._AuthMode = params.get("AuthMode")
|
|
3282
3381
|
self._AuthType = params.get("AuthType")
|
|
3283
3382
|
self._AuthConfigStatus = params.get("AuthConfigStatus")
|
|
3383
|
+
self._ToolAccessMode = params.get("ToolAccessMode")
|
|
3384
|
+
self._IsDisabled = params.get("IsDisabled")
|
|
3284
3385
|
memeber_set = set(params.keys())
|
|
3285
3386
|
for name, value in vars(self).items():
|
|
3286
3387
|
property_name = name[1:]
|
|
@@ -38012,15 +38113,15 @@ class WidgetParam(AbstractModel):
|
|
|
38012
38113
|
|
|
38013
38114
|
def __init__(self):
|
|
38014
38115
|
r"""
|
|
38015
|
-
:param _Name:
|
|
38116
|
+
:param _Name: <p>参数名称</p>
|
|
38016
38117
|
:type Name: str
|
|
38017
|
-
:param _Type:
|
|
38118
|
+
:param _Type: <p>参数类型</p><p>枚举值:</p><ul><li>0: string</li><li>1: int</li><li>2: float</li><li>3: bool</li><li>4: object</li><li>5: array_string</li><li>6: array_int</li><li>7: array_float</li><li>8: array_bool</li><li>9: array_object</li><li>20: array_array</li></ul>
|
|
38018
38119
|
:type Type: int
|
|
38019
|
-
:param _SubParams:
|
|
38120
|
+
:param _SubParams: <p>子参数</p>
|
|
38020
38121
|
:type SubParams: list of WidgetParam
|
|
38021
|
-
:param _DefaultValue:
|
|
38122
|
+
:param _DefaultValue: <p>默认值, Input未指定时,使用该值</p>
|
|
38022
38123
|
:type DefaultValue: str
|
|
38023
|
-
:param _Input:
|
|
38124
|
+
:param _Input: <p>输入的值</p>
|
|
38024
38125
|
:type Input: :class:`tencentcloud.lke.v20231130.models.AgentInput`
|
|
38025
38126
|
"""
|
|
38026
38127
|
self._Name = None
|
|
@@ -38031,7 +38132,7 @@ class WidgetParam(AbstractModel):
|
|
|
38031
38132
|
|
|
38032
38133
|
@property
|
|
38033
38134
|
def Name(self):
|
|
38034
|
-
r"""
|
|
38135
|
+
r"""<p>参数名称</p>
|
|
38035
38136
|
:rtype: str
|
|
38036
38137
|
"""
|
|
38037
38138
|
return self._Name
|
|
@@ -38042,7 +38143,7 @@ class WidgetParam(AbstractModel):
|
|
|
38042
38143
|
|
|
38043
38144
|
@property
|
|
38044
38145
|
def Type(self):
|
|
38045
|
-
r"""
|
|
38146
|
+
r"""<p>参数类型</p><p>枚举值:</p><ul><li>0: string</li><li>1: int</li><li>2: float</li><li>3: bool</li><li>4: object</li><li>5: array_string</li><li>6: array_int</li><li>7: array_float</li><li>8: array_bool</li><li>9: array_object</li><li>20: array_array</li></ul>
|
|
38046
38147
|
:rtype: int
|
|
38047
38148
|
"""
|
|
38048
38149
|
return self._Type
|
|
@@ -38053,7 +38154,7 @@ class WidgetParam(AbstractModel):
|
|
|
38053
38154
|
|
|
38054
38155
|
@property
|
|
38055
38156
|
def SubParams(self):
|
|
38056
|
-
r"""
|
|
38157
|
+
r"""<p>子参数</p>
|
|
38057
38158
|
:rtype: list of WidgetParam
|
|
38058
38159
|
"""
|
|
38059
38160
|
return self._SubParams
|
|
@@ -38064,7 +38165,7 @@ class WidgetParam(AbstractModel):
|
|
|
38064
38165
|
|
|
38065
38166
|
@property
|
|
38066
38167
|
def DefaultValue(self):
|
|
38067
|
-
r"""
|
|
38168
|
+
r"""<p>默认值, Input未指定时,使用该值</p>
|
|
38068
38169
|
:rtype: str
|
|
38069
38170
|
"""
|
|
38070
38171
|
return self._DefaultValue
|
|
@@ -38075,7 +38176,7 @@ class WidgetParam(AbstractModel):
|
|
|
38075
38176
|
|
|
38076
38177
|
@property
|
|
38077
38178
|
def Input(self):
|
|
38078
|
-
r"""
|
|
38179
|
+
r"""<p>输入的值</p>
|
|
38079
38180
|
:rtype: :class:`tencentcloud.lke.v20231130.models.AgentInput`
|
|
38080
38181
|
"""
|
|
38081
38182
|
return self._Input
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-lke
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.93
|
|
4
4
|
Summary: Tencent Cloud Lke SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.93
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.93
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.90
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|