Skip to content

Commit

Permalink
Merge pull request #221 from MinaFoundation/gss-log-level
Browse files Browse the repository at this point in the history
GSS Log Level
  • Loading branch information
Smorci authored Jun 19, 2024
2 parents 212ec05 + e15de83 commit c37b658
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions gpt-survey-summarizer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ helmfile status
| config.discord.guildId | string | `""` | Discord Guild/Server ID |
| config.discord.postChannelId | string | `""` | Discord Post channel ID (optional) |
| config.discord.token | string | `""` | Discord API Token |
| config.gssLogLevel | string | `"INFO"` | Gpt Surver Summarizer Log Level |
| config.openAiApiKey | string | `""` | Openai API Key |
| config.summarizeFrequencySeconds | int | `3600` | Summarize Frequency Seconds |
| databaseDumpExporter.enabled | bool | `true` | Whether to enable exporting of the database dump |
Expand Down
2 changes: 2 additions & 0 deletions gpt-survey-summarizer/templates/deployment_bot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ spec:
value: {{ .Values.redis.master.service.ports.redis | quote }}
- name: SUMMARIZE_FREQUENCY_SECONDS
value: {{ .Values.config.summarizeFrequencySeconds | quote }}
- name: GSS_LOG_LEVEL
value: {{ .Values.config.gssLogLevel | quote }}
{{- if .Values.bot.extraEnvVars }}
{{- toYaml .Values.bot.extraEnvVars | nindent 12 }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions gpt-survey-summarizer/templates/deployment_server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ spec:
value: {{ .Values.redis.master.service.ports.redis | quote }}
- name: SUMMARIZE_FREQUENCY_SECONDS
value: {{ .Values.config.summarizeFrequencySeconds | quote }}
- name: GSS_LOG_LEVEL
value: {{ .Values.config.gssLogLevel | quote }}
{{- if .Values.server.extraEnvVars }}
{{- toYaml .Values.server.extraEnvVars | nindent 12 }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions gpt-survey-summarizer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ platform:
config:
# -- Summarize Frequency Seconds
summarizeFrequencySeconds: 3600
# -- Gpt Surver Summarizer Log Level
gssLogLevel: INFO
# -- Openai API Key
openAiApiKey: ""
discord:
Expand Down

0 comments on commit c37b658

Please sign in to comment.