Alan Yang
Alan Yang
This also causes issues when trying to disable the `type-empty` rule. `subject-empty` will fail if the `:` delimiter is not provided.
I considered a closure like you wrote, but it would require merging tools defined across multiple files into a single (very) large file. I'm currently leveraging an inherited class to...
I'm imagining something that matches the lifecycle of runTools. The context should stay the same throughout that run. It is probably simplest to pass down a context through the `...
That pattern works! Thanks for the suggestion. The caveat is that the tool definition would have to be managed within the scope of the context which requires a good bit...
Sorry for the late response-- I've been pushing to get the feature launched and left this as tech debt. I was able to circle back to clean it up. ---...
Oh, that's a nice suggestion! Though, I think that might still lead to folks wanting to DRY up the `RunnableFunction` instantiation with a helper like `toTools` to reduce boilerplate e.g....
Casting the options with `maxCompletions` to `RequestOptions` is a workaround. ``` { maxChatCompletions: 1 } as RequestOptions ```