Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix ci

Louis Beaumont8788a318123d
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index d02fc8fc4..a49c37778 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -58,10 +58,10 @@ jobs:
args: "--target x86_64-apple-darwin --features metal,beta"
target: x86_64-apple-darwin
tauri-args: "--target x86_64-apple-darwin"
- - platform: "big-linux" # Ubuntu x86_64
+ - platform: "ubuntu-22.04" # Ubuntu x86_64
args: "" # TODO CUDA, mkl
tauri-args: ""
- - platform: "big-windows" # Windows x86_64
+ - platform: "windows-latest" # Windows x86_64
args: "--target x86_64-pc-windows-msvc" # TODO CUDA, mkl? --features "openblas"
pre-build-args: "" # --openblas
tauri-args: "--target x86_64-pc-windows-msvc"
diff --git a/examples/typescript/pipe-twitter-autopilot/pipe.ts b/examples/typescript/pipe-twitter-autopilot/pipe.ts
index 397a81770..82a3b6ef6 100644
--- a/examples/typescript/pipe-twitter-autopilot/pipe.ts
+++ b/examples/typescript/pipe-twitter-autopilot/pipe.ts
@@ -22,7 +22,7 @@ async function extractKeywords(
${JSON.stringify(screenData)}
Return a JSON object with a single array of strings, here are a few examples:
- - { keywords: ["screen", "software", "developer", "product", "design"] }
+ - { "keywords": ["screen", "software", "developer", "product", "design"] }
`;
@@ -42,26 +42,15 @@ async function fetchRelevantTweets(
keywords: string[],
twitterClient: TwitterApi
): Promise<TweetV2[]> {
- const query = `(${keywords.join(" OR ")}) (lang:en OR from:louis030195 OR to:louis030195)`;
+ const query = `${keywords.join(" OR ")} lang:en`;
const tweets = await twitterClient.v2.search(query, {
max_results: 10,
"tweet.fields": ["id", "text", "author_id"],
"user.fields": ["id", "username", "location"],
expansions: ["author_id"],
});
-
- // Filter tweets based on US location or related to your account
- const filteredTweets = tweets.data.data.filter(tweet => {
- const author = tweets.includes?.users?.find(user => user.id === tweet.author_id);
- return (
- author?.location?.toLowerCase().includes("united states") ||
- author?.location?.toLowerCase().includes("usa") ||
- author?.username === "louis030195" ||
- tweet.text.toLowerCase().includes("@louis030195")
- );
- });
- return filteredTweets;
+ return tweets.data.data;
}
async function generateTwitterSuggestions(