openui icon indicating copy to clipboard operation
openui copied to clipboard

Support for Groq models

Open tlo9 opened this issue 1 year ago • 1 comments

This adds the ability to load a list of active Groq models and display them in the Settings component. Separate GROQ_API_KEY and GROQ_BASE_URL environment variables have been added so that both OpenAI and Groq models can be selected from the settings without having to change keys/urls. The url used for the OpenAI API may be set via the OPENAI_BASE_URL environmental variable.

Resolves #73 Resolves #81 Resolves #91

tlo9 avatar May 11 '24 02:05 tlo9

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@codemirror/[email protected] Transitive: environment +14 3.36 MB marijn
npm/@codemirror/[email protected] Transitive: environment +40 7.17 MB marijn
npm/@nabla/[email protected] Transitive: environment +11 404 kB martinraison
npm/@tailwindcss/[email protected] None +6 381 kB adamwathan
npm/@tanstack/[email protected] None 0 0 B
npm/@testing-library/[email protected] Transitive: eval +65 3.89 MB testing-library-bot
npm/@testing-library/[email protected] environment +2 5.72 MB testing-library-bot
npm/@types/[email protected] None 0 37.8 kB types
npm/@types/[email protected] None 0 196 kB types
npm/@types/[email protected] None +2 1.69 MB types
npm/@typescript-eslint/[email protected] Transitive: environment, filesystem +42 8.21 MB jameshenry
npm/@typescript-eslint/[email protected] Transitive: environment, filesystem +34 3.42 MB jameshenry
npm/@uiw/[email protected] Transitive: environment +9 2.42 MB wcjiang
npm/@uiw/[email protected] Transitive: environment +18 7.12 MB wcjiang
npm/@vitest/[email protected] Transitive: environment, filesystem, unsafe +75 12.2 MB vitestbot
npm/[email protected] None 0 8.55 kB lukeed
npm/[email protected] environment, filesystem, shell, unsafe Transitive: eval, network +169 22.9 MB atofstryker
npm/[email protected] None +1 162 kB cypress-npm-publisher
npm/[email protected] environment 0 118 kB react-bot
npm/[email protected] filesystem Transitive: environment +41 3.92 MB testing-library-bot
npm/[email protected] environment, network +28 13.5 MB grea
npm/[email protected] None 0 513 kB daishi
npm/[email protected] environment, filesystem, shell +50 8.65 MB kettanaito
npm/[email protected] None 0 10.9 kB ai
npm/[email protected] None 0 0 B
npm/[email protected] environment, network +22 15.3 MB dschnurr-openai
npm/[email protected] None 0 2.57 MB thecrypticace
npm/[email protected] environment +3 4.63 MB react-bot
npm/[email protected] None 0 0 B
npm/[email protected] environment +2 339 kB react-bot
npm/[email protected] environment Transitive: eval, filesystem, unsafe +106 8.43 MB ybiquitous
npm/[email protected] None +2 989 kB dcas
npm/[email protected] None 0 32.4 MB typescript-bot
npm/[email protected] filesystem Transitive: environment +20 783 kB userquin
npm/[email protected] environment, eval, filesystem, network, shell, unsafe +57 281 MB vitebot
npm/[email protected] environment, eval Transitive: filesystem, shell, unsafe +62 7.77 MB vitestbot
npm/[email protected] filesystem Transitive: environment, eval, network, shell, unsafe +352 87.8 MB tropicadri
npm/[email protected] environment +2 880 kB tropicadri

🚮 Removed packages: npm/@codemirror/[email protected], npm/@codemirror/[email protected], npm/@nabla/[email protected], npm/@tailwindcss/[email protected], npm/@tanstack/[email protected], npm/@testing-library/[email protected], npm/@testing-library/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@uiw/[email protected], npm/@uiw/[email protected], npm/@vitest/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

socket-security[bot] avatar May 11 '24 02:05 socket-security[bot]

@tlo9 I brought most of this over and refactored a bit in this PR.

vanpelt avatar May 13 '24 15:05 vanpelt

This is now merged into master: https://github.com/wandb/openui/pull/115

vanpelt avatar May 13 '24 15:05 vanpelt