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

feat: updated syntax for creating preamble/agent chat #1209

Merged
merged 6 commits into from
Nov 8, 2024
Merged

Conversation

pavelgj
Copy link
Collaborator

@pavelgj pavelgj commented Nov 7, 2024

const chat = ai.chat(agent);

const chat = ai.chat(agent, {
  input: ...
});

const chat = session.chat(agent);

const chat = session.chat(agent, {
  input: ...
});

const chat = session.chat('thread', agent, {
  input: ...
});

@pavelgj pavelgj requested a review from mbleigh November 7, 2024 20:05
@pavelgj pavelgj requested a review from mbleigh November 7, 2024 20:54
@pavelgj pavelgj merged commit 4fe843b into next Nov 8, 2024
4 checks passed
@pavelgj pavelgj deleted the pj/preambleSugar branch November 8, 2024 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants