Skip to content

Commit 9745b7f

Browse files
authored
[feat][prompt] add prompt_key for GetPromptOApi (#501)
* update GetPromptOApi * update idl gen
1 parent cb42bc1 commit 9745b7f

4 files changed

Lines changed: 135 additions & 7 deletions

File tree

backend/kitex_gen/coze/loop/prompt/openapi/coze.loop.prompt.openapi.go

Lines changed: 77 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/kitex_gen/coze/loop/prompt/openapi/coze.loop.prompt.openapi_validator.go

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/kitex_gen/coze/loop/prompt/openapi/k-coze.loop.prompt.openapi.go

Lines changed: 56 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

idl/thrift/coze/loop/prompt/coze.loop.prompt.openapi.thrift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,9 @@ struct DeletePromptOApiResponse {
126126
}
127127

128128
struct GetPromptOApiRequest {
129-
1: optional i64 prompt_id (api.path='prompt_id', api.js_conv='true', vt.not_nil='true', vt.gt='0', go.tag='json:"prompt_id"')
129+
1: optional i64 prompt_id (api.path='prompt_id', api.js_conv='true', go.tag='json:"prompt_id"')
130130
2: optional i64 workspace_id (api.query="workspace_id", api.js_conv='true', go.tag='json:"workspace_id"')
131+
3: optional string prompt_key (api.query="prompt_key")
131132

132133
11: optional bool with_commit (api.query="with_commit")
133134
12: optional string commit_version (api.query="commit_version")

0 commit comments

Comments
 (0)