fix: validate provider urls before use
This fixes validation, like #133, except for all providers that accept a hostname/base URL variable.
@lamchau can you cast eagle eyes over this?
thanks for the advice @lamchau will revise impl after clarification on https://github.com/block-open-source/goose/pull/147#discussion_r1802101239
sorry was awol on medical leave. sporadic this week, but will adjust this and others soon
@codefromthecrypt no worries! hopefully you're doing well/on the mend!
@lamchau PTAL I have consolidated what I could into the same check, and refactored things around it.
Closing up PRs that point to pre-v1.0 but this is still a good idea, happy to open this up again against v1.0