docs: update for pipecat PR #4709#897
Open
markbackman wants to merge 1 commit into
Open
Conversation
…ration) Updated documentation to reflect new FunctionSchema handler feature and parameter default changes: - Added new "Bundling Handlers on Schemas" section in function-calling guide explaining how FunctionSchema can now carry a handler for auto-registration - Updated Section 2 intro to clarify that handlers in LLMContext are auto-registered (both direct functions and handler-carrying schemas) - Updated cancel_on_interruption parameter docs to reflect new default (None) and fallback behavior (@tool_options decorator → default) - Updated llm-switcher.mdx register_function/register_direct_function parameter defaults from True to None with updated descriptions Changes correspond to pipecat PR #4709 which adds: - FunctionSchema.handler parameter for bundled auto-registration - @tool_options decorator support for schema handlers - Updated register_function to read @tool_options when args not explicit - LLMSwitcher parameter defaults changed to respect @tool_options
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated documentation update for pipecat PR #4709.
Changes
Updated
pipecat/learn/function-calling.mdxFunctionSchema.handlerparameter featurecancel_on_interruptionandtimeout_secsnow default toNonewith fallback to@tool_optionsdecorator)register_functioncallsUpdated
api-reference/server/utilities/service-switchers/llm-switcher.mdxcancel_on_interruptionparameter type frombooltobool | Noneand default from"True"to"None"for bothregister_functionandregister_direct_functionmethods@tool_options→ default)PR #4709 Summary
The source PR adds support for bundling handlers directly on
FunctionSchemaobjects:FunctionSchemanow accepts an optionalhandlerparameter@tool_optionsdecorator now works for schema handlersregister_functionnow reads@tool_optionswhen args aren't explicitLLMSwitcherparameter defaults changed to respect@tool_optionsGaps identified
None — all relevant API changes are documented.