u/eyueldk

Why is useStream so opinionated?

Integrating langchain to frontend is so hard for no good reason. I've read documentation and it keeps insinuating that the user needs a langgraph server - which I don't want.

I want to simply embed my langchain agent into an endpoint and stream messages + values to my react frontend.

The current solution I'm pursuing is to use ai-sdk's langchain adapter and using their ui friendly sdk. Langchain shouldn't be so opinionated about the useStream's server architecture - it's such a bad design and IMO another LCEL moment.

What solutions have you used to implement streaming agents/models to frontends?

reddit.com
u/eyueldk — 20 hours ago
▲ 8 r/cursor

How I fixed slow Cursor UI

To whom it may concern,

  1. Had super slow Cursor UI for months - everything hangs.
  2. Today I found out my state.vscdb is 6GB large.
  3. Read online about Cursor + state.vscdb.
  4. Opened state.vscdb (a sqlite db) and ran command VACCUM
  5. Viola, now it's significantly better.

Hope this helps the next person.

Here's the link to the discussion about VACCUM solution. Found it to be helpful in speeding up cursor.

u/eyueldk — 1 day ago

How to get Cursor like diff viewer in opencode?

I really like Cursor's diff viewer that let's you accept and reject changes for the session. Is it possible to get a similar or better experience whether in tui or ui/ide for OpenCode. That's honestly the only feature that makes me stick to Cursor atm.

Thanks in advance for the help.

reddit.com
u/eyueldk — 3 days ago

How to track cost for all providers?

I was using OpenRouter + LangChain and there's a useful field in usage metadata to track the total cost. Do you know if there's a provider agnostic way to track costs via code? I don't want to use something like LangSmith since this is just a local script.

Thanks in advance.

reddit.com
u/eyueldk — 5 days ago
▲ 7 r/shadcn

Looking for robust data table recommendations

I am looking for robust datatable recommendations to use. I keep using the classic tanstack table + shadcn table, but I keep reimplementing the core functionalities. Does anyone know of a robust shadcn data table I can easily plug into my project.

The more complete the better.

reddit.com
u/eyueldk — 5 days ago

I setup an android node on my phone and wanted openclaw to send an SMS, but it says my node doesn't have the capabilities. I don't see any option to enable it.

Any help is much appreciated.

reddit.com
u/eyueldk — 7 days ago

Currently I have a VPS + Dokploy deploying OpenClaw. But I'm not sure if I'm following best practices to secure my openclaw in terms of networking. Should I setup tailscale? Or is token protection enough.

If the tailscale route is chosen, do I use the builtin OC tailscale - I'm confused about how to get it up and running within my network (I don't see any AUTH_TOKEN for example)

reddit.com
u/eyueldk — 7 days ago

For new users having problems as of May 1, 2026, this post is for you - this is a sanity check.

I am new to openclaw and I was unfortunate enough to install the latest openclaw version. It took me 2 days to figure out that the latest version of openclaw is completely broken. Some symptoms include random errors, slow cli, slow responses, double replies, etc...

The solution that worked for me is to downgrade to 2026.2.6.

I've seen on this reddit a lot of complaints that the new release is broken, but I just wanted to add to it so that the next user can see it when they do a Google Search.

Avoid latest releases, avoid 2026.4.29 - that's it. Good luck.

reddit.com
u/eyueldk — 11 days ago

I was planning to host multiple projects on cloudflare, but I'm not sure how to separate/isolate each project and its resources. Is there a system or pattern to do this?

Thanks.

reddit.com
u/eyueldk — 16 days ago

I'm new to Contabo. I was wondering if it allows dynamic scale up and scale down when on a year commitment?

reddit.com
u/eyueldk — 19 days ago

I was trying Deepseek v4 and I'm getting the following error (using langchainjs + openrouter)

{
    "error": {
        "message": "deepseek-reasoner does not support this tool_choice",
        "type": "invalid_request_error",
        "param": null,
        "code": "invalid_request_error"
    }
}

Any clues? I'm trying to get a structured output. Note: I'm using `ChatOpenRouter` in langchainjs.

EDIT: Snippet

 const llm = new ChatOpenRouter("deepseek/deepseek-v4-flash", {
    apiKey: params.apiKey,
    temperature: 0,
  });

Reproduction here

reddit.com
u/eyueldk — 20 days ago