Skip to content

Commit

Permalink
refacto: Make some misc config default
Browse files Browse the repository at this point in the history
This simplifies the default config.
  • Loading branch information
clemlesne committed Jan 16, 2024
1 parent a1ac75e commit 61e41b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,6 @@ workflow:
agent_phone_number: "+33612345678"
bot_company: Contoso
bot_name: Robert
conversation_lang: fr-FR
conversation_timeout_hour: 72

communication_service_call:
access_key: xxx
Expand Down
4 changes: 2 additions & 2 deletions helpers/config_models/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ class WorkflowModel(BaseModel):
agent_phone_number: PhoneNumber
bot_company: str
bot_name: str
conversation_lang: str
conversation_timeout_hour: int
conversation_lang: str = "fr-FR" # French
conversation_timeout_hour: int = 72 # 3 days

0 comments on commit 61e41b0

Please sign in to comment.