Bruce MacDonald 85822544a9 server: show user feedback when key is anonymous
When an ollama key is not registered with any account on ollama.com this is
not obvious. In the current CLI an error message that the user is not
authorized is displayed. This change brings back previous behavior to show
the user their key and where they should add it. It protects against adding
unexpected keys by checking that the key is available locally.

A follow-up change should add structured errors from the API. This change
just relies on a known error message.
2024-12-17 14:59:10 -08:00
..
2024-07-26 14:14:48 -07:00
2024-10-18 16:12:35 -07:00
2024-12-14 19:50:15 -08:00
2024-12-14 19:50:15 -08:00