Skip to content

Commit

Permalink
rename auther to authorizer
Browse files Browse the repository at this point in the history
  • Loading branch information
conneroisu committed Oct 28, 2024
1 parent 17af982 commit f51818d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions extensions/composio/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
)

type (
// Auther is an interface for composio auth.
Auther interface {
// Authorizer is an interface for composio auth.
Authorizer interface {
GetConnectedAccounts(ctx context.Context, opts ...AuthOption) ([]ConnectedAccount, error)
}
// ConnectedAccount represents a composio connected account.
Expand Down
2 changes: 1 addition & 1 deletion extensions/composio/composio.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type (
Composer interface {
Tooler
Runner
Auther
Authorizer
}
// Composio is a composio client.
Composio struct {
Expand Down
4 changes: 3 additions & 1 deletion extensions/composio/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ import (
type (
// Runner is an interface for composio run.
Runner interface {
Run(ctx context.Context, response groq.ChatCompletionResponse) (
Run(ctx context.Context,
user ConnectedAccount,
response groq.ChatCompletionResponse) (
[]groq.ChatCompletionMessage, error)
}
request struct {
Expand Down

0 comments on commit f51818d

Please sign in to comment.