Continue with Error Output for Agent Chat Model connections to use backup models

The idea is:

When/if a chat model stops working for the agent or errors or has not got enough funds etc, having an error option to use a backup model instead of connecting a whole new backup agent would be good.

I think it would be beneficial to add this because:

Flexibility in changing models and helping handle specific model api errors