@jambonz/llm 0.4.4 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/test-kit/index.cjs +1 -1
- package/dist/test-kit/index.cjs.map +1 -1
- package/dist/test-kit/index.js +1 -1
- package/dist/test-kit/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -33,7 +33,7 @@ interface RawCredential {
|
|
|
33
33
|
*
|
|
34
34
|
* Supported vendors: openai, deepseek, anthropic, google, vertex (alias for
|
|
35
35
|
* vertex-gemini + vertex-openai — both accept the same auth shape), vertex-gemini,
|
|
36
|
-
* vertex-openai, bedrock, azure-openai.
|
|
36
|
+
* vertex-openai, bedrock, azure-openai, groq.
|
|
37
37
|
*
|
|
38
38
|
* Throws with a clear message if the raw credential is missing required fields.
|
|
39
39
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ interface RawCredential {
|
|
|
33
33
|
*
|
|
34
34
|
* Supported vendors: openai, deepseek, anthropic, google, vertex (alias for
|
|
35
35
|
* vertex-gemini + vertex-openai — both accept the same auth shape), vertex-gemini,
|
|
36
|
-
* vertex-openai, bedrock, azure-openai.
|
|
36
|
+
* vertex-openai, bedrock, azure-openai, groq.
|
|
37
37
|
*
|
|
38
38
|
* Throws with a clear message if the raw credential is missing required fields.
|
|
39
39
|
*/
|
package/dist/index.js
CHANGED
|
@@ -2506,7 +2506,7 @@ var groqManifest = {
|
|
|
2506
2506
|
label: "API Key",
|
|
2507
2507
|
type: "password",
|
|
2508
2508
|
required: true,
|
|
2509
|
-
help: "Get an API key from https://console.groq.com/keys
|
|
2509
|
+
help: "Get an API key from https://console.groq.com/keys (sign in first if needed)"
|
|
2510
2510
|
},
|
|
2511
2511
|
{
|
|
2512
2512
|
name: "baseURL",
|
|
@@ -2562,6 +2562,7 @@ function normalizeAuth(vendor, raw) {
|
|
|
2562
2562
|
switch (vendor) {
|
|
2563
2563
|
case "openai":
|
|
2564
2564
|
case "anthropic":
|
|
2565
|
+
case "groq":
|
|
2565
2566
|
return requireApiKey(vendor, raw);
|
|
2566
2567
|
case "deepseek":
|
|
2567
2568
|
return {
|