Skip to content

Commit

Permalink
fix: build failed (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
namnhce authored Aug 23, 2024
1 parent 0ba5c6d commit 47c541b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions pkg/adapter/adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ type subAdapter struct {
Mochi mochi.MochiAdapter
OpenAI openai.OpenAIAdapter
Tono tono.TonoAdapter
Reddit reddit.Adapter
Dify dify.DifyAdapter
}

Expand All @@ -30,7 +29,6 @@ func New(cfg *config.Config, l logger.Logger) IAdapter {
Mochi: mochi.New(cfg.Endpoint.Mochi),
OpenAI: openai.New(cfg.OpenAI.APIKey),
Tono: tono.New(cfg),
Reddit: reddit,
Dify: dify.New(cfg.Dify.BaseURL, cfg.Dify.SummarizerAppToken),
},
}
Expand Down
1 change: 0 additions & 1 deletion pkg/adapter/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ type IAdapter interface {
Mochi() mochi.MochiAdapter
OpenAI() openai.OpenAIAdapter
Tono() tono.TonoAdapter
Reddit() reddit.Adapter
Dify() dify.DifyAdapter
}

0 comments on commit 47c541b

Please sign in to comment.