Skip to content

Commit d544f89

Browse files
authored
Merge branch 'main' into dapr-state-store-clickhouse
2 parents d5565c5 + e72dbb6 commit d544f89

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

.build-tools/component-folders.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ componentFolders:
99
- secretstores
1010
- state
1111
- workflows
12+
- conversation
1213

1314
excludeFolders:
1415
- bindings/alicloud

.build-tools/pkg/metadataschema/schema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type ComponentMetadata struct {
2020
// Version of the component metadata schema.
2121
SchemaVersion string `json:"schemaVersion" yaml:"schemaVersion" jsonschema:"enum=v1"`
2222
// Component type, of one of the allowed values.
23-
Type string `json:"type" yaml:"type" jsonschema:"enum=bindings,enum=state,enum=secretstores,enum=pubsub,enum=workflows,enum=configuration,enum=lock,enum=middleware,enum=crypto"`
23+
Type string `json:"type" yaml:"type" jsonschema:"enum=bindings,enum=state,enum=secretstores,enum=pubsub,enum=workflows,enum=configuration,enum=lock,enum=middleware,enum=crypto,enum=conversation"`
2424
// Name of the component (without the inital type, e.g. "http" instead of "bindings.http").
2525
Name string `json:"name" yaml:"name"`
2626
// Version of the component, with the leading "v", e.g. "v1".

component-metadata-schema.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,8 @@
213213
"configuration",
214214
"lock",
215215
"middleware",
216-
"crypto"
216+
"crypto",
217+
"conversation"
217218
],
218219
"description": "Component type, of one of the allowed values."
219220
},

conversation/deepseek/metadata.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ metadata:
2525
required: false
2626
description: |
2727
Max tokens for each request
28-
type: int
29-
example: 2048
28+
type: number
29+
example: "2048"

metadata/utils.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ func (t ComponentType) IsValid() bool {
168168
SecretStoreType, PubSubType,
169169
LockStoreType, ConfigurationStoreType,
170170
MiddlewareType, CryptoType,
171-
NameResolutionType, WorkflowType:
171+
NameResolutionType, WorkflowType,
172+
ConversationType:
172173
return true
173174
default:
174175
return false

0 commit comments

Comments
 (0)