Skip to content

[plugins] Add a flag for tool search.#15722

Merged
mzeng-openai merged 3 commits intomainfrom
dev/mzeng/search_tool_flag
Mar 25, 2026
Merged

[plugins] Add a flag for tool search.#15722
mzeng-openai merged 3 commits intomainfrom
dev/mzeng/search_tool_flag

Conversation

@mzeng-openai
Copy link
Collaborator

  • Add a flag for tool search.

@mzeng-openai mzeng-openai marked this pull request as ready for review March 25, 2026 05:42
@mzeng-openai mzeng-openai enabled auto-merge (squash) March 25, 2026 06:13
config.model_catalog = Some(model_catalog);
}

fn configure_apps(config: &mut Config, apps_base_url: &str) {
Copy link

@morozow morozow Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A mutable 'config' argument breaks platform consistency. It is better to keep data changes at a single, direct entry point. At the same time, binding this function directly to 'Config' type limits future extensibility. A trait-based generic would preserve the same flow while allowing extended mutable config types later.

@mzeng-openai mzeng-openai merged commit e590fad into main Mar 25, 2026
59 of 62 checks passed
@mzeng-openai mzeng-openai deleted the dev/mzeng/search_tool_flag branch March 25, 2026 07:00
@github-actions github-actions bot locked and limited conversation to collaborators Mar 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants