Skip to content

Commit

Permalink
fix (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
pigri authored Nov 20, 2024
2 parents fbe37b4 + d371a80 commit 1fa1a65
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,14 @@ type Providers struct {
}

type Services struct {
LlamaGuard *ServiceLlamaGuard `mapstructure:"llamaguard"`
LlamaGuard *ServiceLlamaGuard `mapstructure:"llamaguard"`
PromptGuard *ServicePromptGuard `mapstructure:"promptguard"`
}
type ServiceLlamaGuard struct {
PromptGuard *ServicePromptGuard `mapstructure:"promptguard"`
Enabled bool `mapstructure:"enabled"`
BaseUrl string `mapstructure:"url"`
}

type ServicePromptGuard struct {
Enabled bool `mapstructure:"enabled"`
BaseUrl string `mapstructure:"url"`
Expand Down

0 comments on commit 1fa1a65

Please sign in to comment.