---
title: "Comment by Devin Smaldore on \"Build Your Own Personal Twitter Agent 🧠🐦⛓ with LangChain\" | Hashnode"
description: "Hey there, Vince Canger ! First off, this is an amazing tutorial you&#39;ve put together and I am looking forward to having a working version here soon! I&#39;m"
url: "https://hashnode.com/posts/build-your-own-personal-twitter-agent-with-langchain/649c29c04c5b78227c6b5bed/comment/64a60b95c8506606ccf1cf5f"
---

[Discussion](https://hashnode.com/posts/build-your-own-personal-twitter-agent-with-langchain/649c29c04c5b78227c6b5bed)

Comment [Build Your Own Personal Twitter Agent 🧠🐦⛓ with LangChain](https://hashnode.com/posts/build-your-own-personal-twitter-agent-with-langchain/649c29c04c5b78227c6b5bed)

[Devin Smaldore](https://hashnode.com/@speakofthedevo)

[Jul 6, 2023](https://hashnode.com/posts/build-your-own-personal-twitter-agent-with-langchain/649c29c04c5b78227c6b5bed/comment/64a60b95c8506606ccf1cf5f)

Hey there, [Vince Canger](https://hashnode.com/@vincanger)! First off, this is an amazing tutorial you've put together and I am looking forward to having a working version here soon!

I'm running into an issue with the `export const generateNewIdeas: GenerateNewIdeas<unknown, void> = async (_args, context) => {...}` function, specifically, it is complaining that `src/ext-src/ideas.ts(102,49): error TS2344: Type 'unknown' does not satisfy the constraint 'Payload'.`

I changed the `unknown` to be of type `Payload`. Is that a sufficient enough work around?

[Vince Canger](https://hashnode.com/@vincanger)

[Jul 6, 2023](https://hashnode.com/posts/build-your-own-personal-twitter-agent-with-langchain/649c29c04c5b78227c6b5bed/comment/64a60b95c8506606ccf1cf5f#reply-64a686a6c8506606ccf1de5a)

Ah. Try changing it to ‘never’. That should do the trick as we’re letting typescript know that this function won’t take any arguments
