Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twitter proxy url #8

Merged
merged 7 commits into from
Feb 4, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
clean up PR
treppers committed Feb 4, 2025
commit c5338543195fb68fefce6966969c7c2da2b821f5
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -27,7 +27,6 @@
"devDependencies": {
"@commitlint/cli": "18.6.1",
"@commitlint/config-conventional": "18.6.3",
"@types/jest": "^29.5.11",
"@typescript-eslint/eslint-plugin": "8.16.0",
"@typescript-eslint/parser": "8.16.0",
"@vitest/eslint-plugin": "1.1.13",
@@ -36,17 +35,18 @@
"eslint": "9.16.0",
"eslint-config-prettier": "9.1.0",
"husky": "9.1.7",
"jest": "^29.7.0",
"lerna": "8.1.5",
"only-allow": "1.2.1",
"prettier": "3.4.1",
"ts-jest": "^29.1.1",
"turbo": "2.3.3",
"typedoc": "0.26.11",
"typescript": "5.6.3",
"viem": "2.21.58",
"vite": "5.4.11",
"vitest": "2.1.5"
"vitest": "2.1.5",
"viem": "2.21.58",
"ts-jest": "^29.1.1",
"@types/jest": "^29.5.11",
"jest": "^29.7.0"
},
"pnpm": {
"overrides": {
@@ -68,7 +68,6 @@
"optional": "0.1.4",
"pnpm": "9.14.4",
"sharp": "0.33.5",
"sqlite3": "^5.1.7",
"tslog": "4.9.3"
},
"packageManager": "pnpm@9.12.3+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee",
2 changes: 1 addition & 1 deletion packages/client-twitter/package.json
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@
],
"dependencies": {
"@elizaos/core": "workspace:*",
"agent-twitter-client": "elizaOS/agent-twitter-client#fd5cb982c14c1ea75f30b2739ae9a9eb2d2ae394",
"agent-twitter-client": "0.0.18",
"undici": "7.3.0",
"glob": "11.0.0",
"zod": "3.23.8",
2 changes: 0 additions & 2 deletions packages/client-twitter/src/base.ts
Original file line number Diff line number Diff line change
@@ -19,8 +19,6 @@ import {
import { EventEmitter } from "events";
import { TwitterConfig } from "./environment.ts";
import { fetch, ProxyAgent, setGlobalDispatcher } from "undici";
// import fetch, { RequestInfo, RequestInit, Response } from "node-fetch";
// import { HttpsProxyAgent } from "https-proxy-agent";

export function extractAnswer(text: string): string {
const startIndex = text.indexOf("Answer: ") + 8;