Customized prompts not clear to me #378
-
I assume that after I have deployed the resources and synced the settings I am supposed edit config.yaml to contain this example value down bellow. I didn't know to if I should run "make deploy" or "make dev" after adding the prompt information so I tried both. I recieve errors relating to how I am suppoed to put things in a different format but I have a hard time understanding, I used the format of your example and verified that it's correct yaml. Seems like when it is passed to different scripts it is not correct anymore. I'm attaching my console errors as a log file. prompts: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
The tabs were formatted correctly unlike in my post I can run both commands perfectly fine while leaving the prompt property as its default value |
Beta Was this translation helpful? Give feedback.
-
EDIT: I was able to solve it by using a particular order of deployments and changing numbers I noticed that the local dev version of the app does not recieve calls at all after doing a new "make deploy" I followed our previous instructions and synced settings, then add a seperate phone number, but no infomation that a call was made reaches the local app. There is no event grid with a number corresponding to the one I changed to i my local config.yaml but I think that is expected. I just changed the phone numbers in config.yaml then ran make tunnel&make dev [2024-12-18 15:57:20 +0100] [135976] [INFO] Starting gunicorn 23.0.0 |
Beta Was this translation helpful? Give feedback.
The error in the logs directly point to bad YAML formatting.
Here is how to format a multiline string with YAML:
Your formatter in your IDE (VS Code for example) should warn you about errors.
Or, go to websites like https://jsonformatter.curiousconcept.com to lint your YAML.