Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 0.1.0, Speakeasy CLI 1.355.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Aug 7, 2024
1 parent d71555a commit 9c8b5da
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ id: 75084268-f421-4ea6-8995-12fee2bcfd75
management:
docChecksum: 3421b267db90c24a6b62d0b3559978bc
docVersion: 0.1.0
speakeasyVersion: 1.352.2
generationVersion: 2.385.2
releaseVersion: 0.8.6
configChecksum: b8c708a2b2c09b8d0ff424ad77728f06
speakeasyVersion: 1.355.0
generationVersion: 2.387.0
releaseVersion: 0.8.7
configChecksum: 5c7f874603f383d8903d1b89bc415f11
repoURL: https://github.com/inkeep/ai-api-go.git
repoSubDirectory: .
installationURL: https://github.com/inkeep/ai-api-go
Expand All @@ -15,7 +15,7 @@ features:
go:
acceptHeaders: 2.81.2
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.4
constsAndDefaults: 0.1.5
core: 3.5.3
defaultEnabledRetries: 0.2.0
envVarSecurityUsage: 0.2.2
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,4 +368,14 @@ Based on:
### Generated
- [go v0.8.6] .
### Releases
- [Go v0.8.6] https://github.com/inkeep/ai-api-go/releases/tag/v0.8.6 - .
- [Go v0.8.6] https://github.com/inkeep/ai-api-go/releases/tag/v0.8.6 - .

## 2024-08-07 00:03:37
### Changes
Based on:
- OpenAPI Doc 0.1.0
- Speakeasy CLI 1.355.0 (2.387.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.8.7] .
### Releases
- [Go v0.8.7] https://github.com/inkeep/ai-api-go/releases/tag/v0.8.7 - .
6 changes: 3 additions & 3 deletions chatapigo.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ func New(opts ...SDKOption) *ChatAPIGo {
sdkConfiguration: sdkConfiguration{
Language: "go",
OpenAPIDocVersion: "0.1.0",
SDKVersion: "0.8.6",
GenVersion: "2.385.2",
UserAgent: "speakeasy-sdk/go 0.8.6 2.385.2 0.1.0 github.com/inkeep/ai-api-go",
SDKVersion: "0.8.7",
GenVersion: "2.387.0",
UserAgent: "speakeasy-sdk/go 0.8.7 2.387.0 0.1.0 github.com/inkeep/ai-api-go",
Hooks: hooks.New(),
},
}
Expand Down
2 changes: 2 additions & 0 deletions chatsession.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func (s *ChatSession) Create(ctx context.Context, request components.CreateChatS
hookCtx := hooks.HookContext{
Context: ctx,
OperationID: "create",
OAuth2Scopes: []string{},
SecuritySource: s.sdkConfiguration.Security,
}

Expand Down Expand Up @@ -251,6 +252,7 @@ func (s *ChatSession) Continue(ctx context.Context, chatSessionID string, contin
hookCtx := hooks.HookContext{
Context: ctx,
OperationID: "continue",
OAuth2Scopes: []string{},
SecuritySource: s.sdkConfiguration.Security,
}

Expand Down
2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ features:
nameOverrides: 2.81.1
retries: 2.82.0
go:
version: 0.8.6
version: 0.8.7
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
clientServerStatusCodesAsErrors: true
Expand Down
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@

module github.com/inkeep/ai-api-go

go 1.20

require (
github.com/cenkalti/backoff/v4 v4.2.0
github.com/ericlagergren/decimal v0.0.0-20221120152707-495c53812d05
github.com/ericlagergren/decimal v0.0.0-20221120152707-495c53812d05
github.com/spyzhov/ajson v0.8.0
)
2 changes: 2 additions & 0 deletions internal/hooks/hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ func New() *Hooks {
afterErrorHook: []afterErrorHook{},
}

initHooks(h)

return h
}

Expand Down

0 comments on commit 9c8b5da

Please sign in to comment.