From 8b82812e5a08bcb51588cfbceec1f8e00be3b7a2 Mon Sep 17 00:00:00 2001 From: Marvin Arnold Date: Sun, 2 Feb 2025 14:26:23 -0600 Subject: [PATCH] Revert "Merge remote-tracking branch 'origin/develop'" This reverts commit 8771cb25dafb14ac0deda3ee4c11f0661d9840d4, reversing changes made to 393851e5d85da7c4b6cfc878f33672a83f7c9f2b. --- packages/client-twitter/src/utils.ts | 2 -- packages/core/package.json | 6 +++--- packages/plugin-cosmos/src/templates/index.ts | 2 +- packages/plugin-email/README.md | 2 +- .../plugin-goplus/src/services/GoplusSecurityService.ts | 2 +- packages/plugin-story/src/types/api.ts | 4 ++-- 6 files changed, 8 insertions(+), 10 deletions(-) diff --git a/packages/client-twitter/src/utils.ts b/packages/client-twitter/src/utils.ts index 0c64a59d231..f62564bef1b 100644 --- a/packages/client-twitter/src/utils.ts +++ b/packages/client-twitter/src/utils.ts @@ -83,7 +83,6 @@ export async function buildConversationThread( text: currentTweet.text, source: "twitter", url: currentTweet.permanentUrl, - imageUrls: currentTweet.photos.map((p) => p.url) || [], inReplyTo: currentTweet.inReplyToStatusId ? stringToUuid( currentTweet.inReplyToStatusId + @@ -279,7 +278,6 @@ export async function sendTweet( text: tweet.text, source: "twitter", url: tweet.permanentUrl, - imageUrls: tweet.photos.map((p) => p.url) || [], inReplyTo: tweet.inReplyToStatusId ? stringToUuid( tweet.inReplyToStatusId + "-" + client.runtime.agentId diff --git a/packages/core/package.json b/packages/core/package.json index d55ef41c1d3..d5fdfe8f186 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -67,12 +67,12 @@ "@ai-sdk/google-vertex": "0.0.43", "@ai-sdk/groq": "0.0.3", "@ai-sdk/mistral": "1.0.9", - "@ai-sdk/openai": "1.1.9", + "@ai-sdk/openai": "1.0.5", "@ai-sdk/amazon-bedrock": "1.1.0", "@fal-ai/client": "1.2.0", "@tavily/core": "^0.0.2", "@types/uuid": "10.0.0", - "ai": "4.1.16", + "ai": "3.4.33", "anthropic-vertex-ai": "1.0.2", "dotenv": "16.4.5", "fastembed": "1.14.1", @@ -84,7 +84,7 @@ "js-tiktoken": "1.0.15", "langchain": "0.3.6", "ollama-ai-provider": "0.16.1", - "openai": "4.82.0", + "openai": "4.73.0", "pino": "^9.6.0", "pino-pretty": "^13.0.0", "tinyld": "1.3.4", diff --git a/packages/plugin-cosmos/src/templates/index.ts b/packages/plugin-cosmos/src/templates/index.ts index 074a8e51897..e9c82de73d6 100644 --- a/packages/plugin-cosmos/src/templates/index.ts +++ b/packages/plugin-cosmos/src/templates/index.ts @@ -26,7 +26,7 @@ Respond with a JSON markdown block containing only the extracted values. All fie "chainName": string // The chain name. \`\`\` -Example response for the input: "Make transfer 0.0001 OM to mantra1pcnw46km8m5amvf7jlk2ks5std75k73aralhcf on mantrachaintestnet2", the response should be: +Example reponse for the input: "Make transfer 0.0001 OM to mantra1pcnw46km8m5amvf7jlk2ks5std75k73aralhcf on mantrachaintestnet2", the response should be: \`\`\`json { "symbol": "OM", diff --git a/packages/plugin-email/README.md b/packages/plugin-email/README.md index 8372ebc9964..3748c7ba65e 100644 --- a/packages/plugin-email/README.md +++ b/packages/plugin-email/README.md @@ -18,7 +18,7 @@ The following settings will be declared on your environment variable or inside y ## IMAP Section - `EMAIL_INCOMING_SERVICE`: "imap" -- `EMAIL_INCOMING_HOST`: IMAP Hostname or IP to connect to +- `EMAIL_INCOMING_HOST`: IMAP Hostname or IP to conenct to - `EMAIL_INCOMING_PORT`: the port to connect to (defaults to 993) - `EMAIL_INCOMING_USER`: Username - `EMAIL_INCOMING_PASS`: Password diff --git a/packages/plugin-goplus/src/services/GoplusSecurityService.ts b/packages/plugin-goplus/src/services/GoplusSecurityService.ts index 0621b0dce0a..581f9f2f2e5 100644 --- a/packages/plugin-goplus/src/services/GoplusSecurityService.ts +++ b/packages/plugin-goplus/src/services/GoplusSecurityService.ts @@ -80,7 +80,7 @@ export class GoplusSecurityService extends Service implements IGoplusSecuritySer checkResult = await goPlusManage.dappSecurityAndPhishingSite(obj.url); break; default: - throw new Error("type is invalid") + throw new Error("type is invaild") } elizaLogger.log("checkResult text", checkResult); diff --git a/packages/plugin-story/src/types/api.ts b/packages/plugin-story/src/types/api.ts index 6d1d9fc95a1..2f22adaa030 100644 --- a/packages/plugin-story/src/types/api.ts +++ b/packages/plugin-story/src/types/api.ts @@ -29,7 +29,7 @@ export enum RESOURCE_TYPE { LATEST_TRANSACTIONS = "transactions/latest", } -export enum RESOURCE_RESPONSE_TYPE { +export enum RESPOURCE_REPONSE_TYPE { LICENSE_TOKEN = "LICENSETOKEN", // new version LICENSE_TEMPLATES = "LICENSETEMPLATE", // new version LICENSE_TERMS = "LICENSETERM", // new version @@ -556,4 +556,4 @@ export type LicenseTerms = { licenseTemplate: Address; blockNumber: string; blockTime: string; -}; +}; \ No newline at end of file