Skip to content

Commit 6aabbec

Browse files
stainless-app[bot]yjp20
authored andcommitted
feat(ai): build APIs take SDK level commit messages & new gate for AI commit messages
1 parent 76cd239 commit 6aabbec

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 20
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-ec93b81b2d599edd19449bae3cb40bdb17890908d97cc867e36425a45e491c16.yml
3-
openapi_spec_hash: fe8b8fd7782670698fecfe2fcc05f693
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-98ef57608e3e36cd34a8380ab4dc705a355cd313f8f4914ed8bddd2c6284a5fd.yml
3+
openapi_spec_hash: f697a51d97a3013f615dfc4ea73836b0
44
config_hash: 8563083ae1fa5c137476fb1237aa8ea9

pkg/cmd/build.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,13 @@ var buildsCreate = cli.Command{
115115
BodyPath: "commit_message",
116116
},
117117
},
118+
&requestflag.YAMLFlag{
119+
Name: "target-commit-messages",
120+
Usage: "Optional commit messages to use for each SDK when making a new commit.\nSDKs not represented in this object will fallback to the optional\n`commit_message` parameter, or will fallback further to the default\ncommit message.",
121+
Config: requestflag.RequestConfig{
122+
BodyPath: "target_commit_messages",
123+
},
124+
},
118125
&requestflag.StringSliceFlag{
119126
Name: "target",
120127
Usage: "Optional list of SDK targets to build. If not specified, all configured\ntargets will be built.",

0 commit comments

Comments
 (0)