Closed louis-jan closed 6 months ago
Thanks - I think this will be a great way to start work on https://github.com/janhq/jan/issues/757
Design for dynamic extension settings: https://www.figma.com/file/ytn1nRZ17FUmJHTlhmZB9f/Jan-App-(version-1)?type=design&node-id=6999-89915&mode=design&t=IhyPYt0bZS0kM65Y-4
Extension group name should be in upper case for all text :x:, see Figma design above
Inconsistent in the hyperlink text: Groq Documentation and OpenAI documentation :x:
looking good on Jan v0.4.10-367 ✅
Problem
Success Criteria
const DEFAULT_SETTINGS: Partial = {
key: "xxx-yyyy",
};
class OAIExtension extends JanExtension { settings: OAISettings
onLoad() { this.settings = Object.assign({}, DEFAULT_SETTINGS, await this.loadData()); } }
Q: Web & Mobile compatibility? A: inject localStorage module (session based) instead of
fs
for these platformsFurther update