![]() Extracts authorization logic to a single method and add early returns in message handlers to prevent sending requests when the model configuration is invalid or terms haven't been accepted. This was allowing for the TOS popup to show up even for logged out users because they could bypass the disabled button with the keybinding. Now the behavior should be the same either way, that the request isn't made unless they can send it. The text thread already has a banner to tell the user to configure a model provider, so I don't think we need to pop up a separate modal, since the button is disabled anyway. Release Notes: - N/A |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE-GPL |