Skip to content

Tool Management via L.enable and L.disable - #364

Merged
harrysolovay merged 2 commits into
mainfrom
tools-working
Aug 10, 2025
Merged

Tool Management via L.enable and L.disable#364
harrysolovay merged 2 commits into
mainfrom
tools-working

Conversation

@harrysolovay

Copy link
Copy Markdown
Member
Effect.gen(function*() {
  yield* L.enable(DadJokeTools)
  yield* L.user`Generate a dad joke about pirates.`
  yield* L.assistant
  yield* L.disable(DadJokeTooks)
})

Or using L.strand for sequencing.

L.strand(
  L.enable(DadJokeTools),
  L.user`Generate a dad joke about pirates.`,
  L.assistant,
)

@changeset-bot

changeset-bot Bot commented Aug 10, 2025

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 26c8d40

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@harrysolovay
harrysolovay merged commit 73702cb into main Aug 10, 2025
1 check passed
@harrysolovay
harrysolovay deleted the tools-working branch August 10, 2025 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant