ProviderAllowsAmbientCredentials reports whether provider can use ambient credentials from the Coder server instead of an explicit API key.
(provider string)
| 81 | // ambient credentials from the Coder server instead of an explicit |
| 82 | // API key. |
| 83 | func ProviderAllowsAmbientCredentials(provider string) bool { |
| 84 | return NormalizeProvider(provider) == fantasybedrock.Name |
| 85 | } |
| 86 | |
| 87 | // InlineImageCapBytes returns the per-image byte cap for inline |
| 88 | // image parts, or (0, false) when no documented cap applies. |
no test coverage detected