@promptbook/anthropic-claude
Advanced tools
Comparing version 0.66.0-7 to 0.66.0-8
@@ -10,3 +10,3 @@ import Anthropic from '@anthropic-ai/sdk'; | ||
*/ | ||
var PROMPTBOOK_VERSION = '0.66.0-6'; | ||
var PROMPTBOOK_VERSION = '0.66.0-7'; | ||
// TODO: !!!! List here all the versions and annotate + put into script | ||
@@ -1293,8 +1293,9 @@ | ||
var existingRegistration = this.storage[existingRegistrationIndex]; | ||
if (existingRegistration) { | ||
console.warn("!!!!!! Re-registering ".concat(packageName, ".").concat(className, " again")); | ||
this.storage[existingRegistrationIndex] = registered; | ||
if (!existingRegistration) { | ||
console.warn("[\uD83D\uDCE6] Registering ".concat(packageName, ".").concat(className, " again")); | ||
this.storage.push(registered); | ||
} | ||
else { | ||
this.storage.push(registered); | ||
console.warn("[\uD83D\uDCE6] Re-registering ".concat(packageName, ".").concat(className, " again")); | ||
this.storage[existingRegistrationIndex] = registered; | ||
} | ||
@@ -1301,0 +1302,0 @@ }; |
import { PROMPTBOOK_VERSION } from '../version'; | ||
import { AzureOpenAiExecutionTools } from '../llm-providers/azure-openai/AzureOpenAiExecutionTools'; | ||
import type { AzureOpenAiExecutionToolsOptions } from '../llm-providers/azure-openai/AzureOpenAiExecutionToolsOptions'; | ||
import { createAzureOpenAiExecutionTools } from '../llm-providers/azure-openai/createAzureOpenAiExecutionTools'; | ||
import { _AzureOpenAiRegistration } from '../llm-providers/azure-openai/register-constructor'; | ||
export { PROMPTBOOK_VERSION }; | ||
export { AzureOpenAiExecutionTools }; | ||
export type { AzureOpenAiExecutionToolsOptions }; | ||
export { createAzureOpenAiExecutionTools }; | ||
export { _AzureOpenAiRegistration }; |
import { PROMPTBOOK_VERSION } from '../version'; | ||
import { _CLI } from '../cli/main'; | ||
import { _AnthropicClaudeMetadataRegistration } from '../llm-providers/anthropic-claude/register-configuration'; | ||
import { _AzureOpenAiMetadataRegistration } from '../llm-providers/azure-openai/register-configuration'; | ||
import { _OpenAiMetadataRegistration } from '../llm-providers/openai/register-configuration'; | ||
@@ -8,2 +9,3 @@ export { PROMPTBOOK_VERSION }; | ||
export { _AnthropicClaudeMetadataRegistration }; | ||
export { _AzureOpenAiMetadataRegistration }; | ||
export { _OpenAiMetadataRegistration }; |
@@ -57,2 +57,3 @@ import { PROMPTBOOK_VERSION } from '../version'; | ||
import { _AnthropicClaudeMetadataRegistration } from '../llm-providers/anthropic-claude/register-configuration'; | ||
import { _AzureOpenAiMetadataRegistration } from '../llm-providers/azure-openai/register-configuration'; | ||
import { joinLlmExecutionTools } from '../llm-providers/multiple/joinLlmExecutionTools'; | ||
@@ -128,2 +129,3 @@ import { _OpenAiMetadataRegistration } from '../llm-providers/openai/register-configuration'; | ||
export { _AnthropicClaudeMetadataRegistration }; | ||
export { _AzureOpenAiMetadataRegistration }; | ||
export { joinLlmExecutionTools }; | ||
@@ -130,0 +132,0 @@ export { _OpenAiMetadataRegistration }; |
{ | ||
"name": "@promptbook/anthropic-claude", | ||
"version": "0.66.0-7", | ||
"version": "0.66.0-8", | ||
"description": "Supercharge your use of large language models", | ||
@@ -50,3 +50,3 @@ "private": false, | ||
"peerDependencies": { | ||
"@promptbook/core": "0.66.0-7" | ||
"@promptbook/core": "0.66.0-8" | ||
}, | ||
@@ -53,0 +53,0 @@ "dependencies": { |
@@ -17,3 +17,3 @@ (function (global, factory) { | ||
*/ | ||
var PROMPTBOOK_VERSION = '0.66.0-6'; | ||
var PROMPTBOOK_VERSION = '0.66.0-7'; | ||
// TODO: !!!! List here all the versions and annotate + put into script | ||
@@ -1300,8 +1300,9 @@ | ||
var existingRegistration = this.storage[existingRegistrationIndex]; | ||
if (existingRegistration) { | ||
console.warn("!!!!!! Re-registering ".concat(packageName, ".").concat(className, " again")); | ||
this.storage[existingRegistrationIndex] = registered; | ||
if (!existingRegistration) { | ||
console.warn("[\uD83D\uDCE6] Registering ".concat(packageName, ".").concat(className, " again")); | ||
this.storage.push(registered); | ||
} | ||
else { | ||
this.storage.push(registered); | ||
console.warn("[\uD83D\uDCE6] Re-registering ".concat(packageName, ".").concat(className, " again")); | ||
this.storage[existingRegistrationIndex] = registered; | ||
} | ||
@@ -1308,0 +1309,0 @@ }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
576038
462
10534