Skip to content

Commit

Permalink
Make the api key options for OpenAI compatible endpoints. Local ones …
Browse files Browse the repository at this point in the history
…often don't have one.

Fixes #114
  • Loading branch information
scosman committed Jan 16, 2025
1 parent 62b1832 commit c83a286
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -704,12 +704,13 @@
id="base_url"
label="Base URL"
bind:value={new_provider_base_url}
placeholder="https://..."
placeholder="https://.../v1"
info_description="The base URL of an OpenAI compatible API. For example, https://openrouter.ai/api/v1"
/>
<FormElement
id="api_key"
label="API Key"
optional={true}
bind:value={new_provider_api_key}
placeholder="sk-..."
info_description="The API key for the OpenAI compatible API."
Expand Down

0 comments on commit c83a286

Please sign in to comment.