Skip to content

Make Demo configurable for providers through UI #308

@nezhyborets

Description

@nezhyborets

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Currently we can only set API Key and the demo is hardcoded to work with OpenAI

Describe the solution you'd like
I think we can put more UI into the view that holds API Key field. I think we should have predefined sets of values, like if user selects Gemini using some new picker - host field would get auto populated with generativelanguage.googleapis.com. If a user wants to put something custom, they'd just edit the fields manually or select Custom... in the same picker. I believe we should also store whatever is inputed, for the following launches.

Describe alternatives you've considered
I'm not sure if there are other alternatives besides doing it in UI. Launch arguments? They're not passable on iOS

Additional context
The issue rose up during debugging of this issue #283. But I believe such functionality would be helpful for other usages

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions