8000 use threads for persistent agentic conversations · Issue #216 · hospitaljobsin/hospitaljobsin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
use threads for persistent agentic conversations #216
@aryaniyaps

Description

@aryaniyaps

references:

we need to make use of threads to load agentic conversation history. localStorage doesn't cut it anymore.

these pages should have their separate thread IDs:

  • dashboard page
  • job detail page
  • applicant detail page
  • job applicants view page

on navigation, the thread Ids must change dynamically.

Example from the docs:

import { useCopilotContext } from "@copilotkit/react-core";
 
const ChangeThreadButton = () => {
  const { threadId, setThreadId } = useCopilotContext(); 
  return (
    <Button onClick={() => setThreadId("d73c22f3-1f8e-4a93-99db-5c986068d64f")}>
      Change Thread
    </Button>
  )
}

I think that the thread Ids must be stored in the database, alongside each session??

and there must be a way to update those values as well.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0