mirror of
https://github.com/anomalyco/opencode-sdk-go.git
synced 2026-04-28 04:29:49 +00:00
feat(api): api update
This commit is contained in:
parent
1270b5cd81
commit
17fbab7311
3 changed files with 2 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
configured_endpoints: 22
|
||||
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/opencode%2Fopencode-186e713234760e9f755b35c78809f89378e4f778a451cd5e30649f41489e0bfd.yml
|
||||
openapi_spec_hash: 5fb2ce9d8055253d597567a8a3293e73
|
||||
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/opencode%2Fopencode-d34620b462127c45497743c97fd3569f9e629d9fbd97c0707087eeddbd4b3de1.yml
|
||||
openapi_spec_hash: 23864c98d555350fe56f1d0e56f205c5
|
||||
config_hash: a8441af7cb2db855d79fd372ee3b9fb1
|
||||
|
|
|
|||
|
|
@ -1601,7 +1601,6 @@ type SessionChatParams struct {
|
|||
ModelID param.Field[string] `json:"modelID,required"`
|
||||
Parts param.Field[[]SessionChatParamsPartUnion] `json:"parts,required"`
|
||||
ProviderID param.Field[string] `json:"providerID,required"`
|
||||
SessionID param.Field[string] `json:"sessionID,required"`
|
||||
MessageID param.Field[string] `json:"messageID"`
|
||||
Mode param.Field[string] `json:"mode"`
|
||||
}
|
||||
|
|
|
|||
|
|
@ -129,7 +129,6 @@ func TestSessionChatWithOptionalParams(t *testing.T) {
|
|||
}),
|
||||
}}),
|
||||
ProviderID: opencode.F("providerID"),
|
||||
SessionID: opencode.F("ses"),
|
||||
MessageID: opencode.F("msg"),
|
||||
Mode: opencode.F("mode"),
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue