@fonoster/autopilot 0.16.8 → 0.16.9

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.
@@ -27,9 +27,9 @@ function createTestTextSimilarity(evalsLanguageModel, systemPrompt) {
27
27
  }
28
28
  return async function testTextSimilarity(text1, text2) {
29
29
  const llm = new openai_1.ChatOpenAI({
30
- modelName: evalsLanguageModel.model,
30
+ model: evalsLanguageModel.model,
31
+ apiKey: evalsLanguageModel.apiKey,
31
32
  temperature: 0,
32
- openAIApiKey: evalsLanguageModel.apiKey,
33
33
  maxTokens: 10
34
34
  });
35
35
  const messages = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fonoster/autopilot",
3
- "version": "0.16.8",
3
+ "version": "0.16.9",
4
4
  "description": "Voice AI for the Fonoster platform",
5
5
  "author": "Pedro Sanders <psanders@fonoster.com>",
6
6
  "homepage": "https://github.com/fonoster/fonoster#readme",
@@ -59,5 +59,5 @@
59
59
  "xstate": "^5.17.3",
60
60
  "zod": "^3.25.76"
61
61
  },
62
- "gitHead": "5972440bc8106a5db4b3536129b60d1df30fe6b3"
62
+ "gitHead": "115c6d190293c1a5f366cf1997be7e84433f9e05"
63
63
  }