@promptbook/wizard 0.98.0-8 → 0.98.0-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.
@@ -15,7 +15,7 @@ export declare const BOOK_LANGUAGE_VERSION: string_semantic_version;
15
15
  export declare const PROMPTBOOK_ENGINE_VERSION: string_promptbook_version;
16
16
  /**
17
17
  * Represents the version string of the Promptbook engine.
18
- * It follows semantic versioning (e.g., `0.98.0-7`).
18
+ * It follows semantic versioning (e.g., `0.98.0-8`).
19
19
  *
20
20
  * @generated
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/wizard",
3
- "version": "0.98.0-8",
3
+ "version": "0.98.0-9",
4
4
  "description": "Promptbook: Run AI apps in plain human language across multiple models and platforms",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -74,7 +74,7 @@
74
74
  "module": "./esm/index.es.js",
75
75
  "typings": "./esm/typings/src/_packages/wizard.index.d.ts",
76
76
  "peerDependencies": {
77
- "@promptbook/core": "0.98.0-8"
77
+ "@promptbook/core": "0.98.0-9"
78
78
  },
79
79
  "dependencies": {
80
80
  "@ai-sdk/deepseek": "0.1.6",
package/umd/index.umd.js CHANGED
@@ -49,7 +49,7 @@
49
49
  * @generated
50
50
  * @see https://github.com/webgptorg/promptbook
51
51
  */
52
- const PROMPTBOOK_ENGINE_VERSION = '0.98.0-8';
52
+ const PROMPTBOOK_ENGINE_VERSION = '0.98.0-9';
53
53
  /**
54
54
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
55
55
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -5131,27 +5131,6 @@
5131
5131
  };
5132
5132
  },
5133
5133
  createConfigurationFromEnv(env) {
5134
- // Note: OpenAiCompatibleExecutionTools is an abstract class and cannot be instantiated directly
5135
- // However, we can provide configuration for users who want to manually instantiate it
5136
- if (typeof env.OPENAI_API_KEY === 'string') {
5137
- const options = {
5138
- apiKey: env.OPENAI_API_KEY,
5139
- isProxied: false,
5140
- remoteServerUrl: DEFAULT_REMOTE_SERVER_URL,
5141
- maxRequestsPerMinute: DEFAULT_MAX_REQUESTS_PER_MINUTE,
5142
- defaultModelName: 'gpt-4-turbo',
5143
- };
5144
- // Add baseURL if provided in environment
5145
- if (typeof env.OPENAI_BASE_URL === 'string') {
5146
- options.baseURL = env.OPENAI_BASE_URL;
5147
- }
5148
- return {
5149
- title: 'Open AI Compatible (from env)',
5150
- packageName: '@promptbook/openai',
5151
- className: 'OpenAiCompatibleExecutionTools',
5152
- options,
5153
- };
5154
- }
5155
5134
  return null;
5156
5135
  },
5157
5136
  });
@@ -12162,6 +12141,7 @@
12162
12141
  .list()
12163
12142
  .find(({ packageName, className }) => llmConfiguration.packageName === packageName && llmConfiguration.className === className);
12164
12143
  if (registeredItem === undefined) {
12144
+ console.log('!!! $llmToolsRegister.list()', $llmToolsRegister.list());
12165
12145
  throw new Error(spaceTrim__default["default"]((block) => `
12166
12146
  There is no constructor for LLM provider \`${llmConfiguration.className}\` from \`${llmConfiguration.packageName}\`
12167
12147