danilop / multimodal-chat

A multimodal chat interface with many tools.
MIT License
17 stars 2 forks source link

Add a final WAIT for the lambda function to be updated #6

Open cfregly opened 3 weeks ago

cfregly commented 3 weeks ago

final status of the function is "InProgress" when the script completes.

i'd prefer to have the script wait until the function been successfully updated before the script completes.

danilop commented 3 weeks ago

Good point. I think I tried that but couldn't find a correct wait state. It usually takes seconds so the worst it can happen is that a few invocations end up to the old image (if any). It should fail because there is a check on the state of the function.