@kamrankhan027/probe-ai 1.1.2 → 1.1.3

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -4
  2. package/package.json +2 -1
package/dist/index.js CHANGED
@@ -4568,6 +4568,7 @@ var saveHtmlAuditReportTool = tool5(
4568
4568
  import { ChatGoogleGenerativeAI } from "@langchain/google-genai";
4569
4569
  import { ChatOpenAI } from "@langchain/openai";
4570
4570
  import { ChatAnthropic } from "@langchain/anthropic";
4571
+ import { ChatGroq } from "@langchain/groq";
4571
4572
  import { ChatOllama } from "@langchain/ollama";
4572
4573
  function createChatModel(config) {
4573
4574
  const { provider, apiKey = "", modelName, baseUrl } = config;
@@ -4594,13 +4595,10 @@ function createChatModel(config) {
4594
4595
  maxRetries: 3
4595
4596
  });
4596
4597
  case "groq":
4597
- return new ChatOpenAI({
4598
+ return new ChatGroq({
4598
4599
  model: modelName || process.env.GROQ_MODEL || "llama-3.3-70b-versatile",
4599
4600
  temperature: 0.2,
4600
4601
  apiKey,
4601
- configuration: {
4602
- baseURL: "https://api.groq.com/openai/v1"
4603
- },
4604
4602
  maxRetries: 3
4605
4603
  });
4606
4604
  case "openrouter":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kamrankhan027/probe-ai",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Autonomous API Schema & Reliability Inspector CLI. Probes OpenAPI specs, generates test suites, executes real-time HTTP calls, and exports Postman collections.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -32,6 +32,7 @@
32
32
  "@langchain/anthropic": "^0.3.34",
33
33
  "@langchain/core": "^0.3.40",
34
34
  "@langchain/google-genai": "^0.1.11",
35
+ "@langchain/groq": "^0.1.3",
35
36
  "@langchain/langgraph": "^0.2.54",
36
37
  "@langchain/ollama": "^0.1.6",
37
38
  "@langchain/openai": "^0.3.17",