mirror of
https://github.com/open-webui/mcpo
synced 2025-06-26 18:26:58 +00:00
rm debug logs
This commit is contained in:
parent
93297c9bc0
commit
0d93fef279
@ -226,10 +226,8 @@ def get_model_fields(form_model_name, properties, required_fields, schema_defs=N
|
||||
|
||||
# Handle parameter names with leading underscores (e.g., __top, __filter) which Pydantic v2 does not allow
|
||||
if name_needs_alias(param_name):
|
||||
print(f"DEBUG: Handling underscore parameter: {param_name}")
|
||||
other_names = set().union(properties, model_fields, _model_cache)
|
||||
alias_name = generate_alias_name(param_name, other_names)
|
||||
print(f"DEBUG: Clean name for {param_name} is {alias_name}")
|
||||
aliased_field = Field(
|
||||
default=pydantic_field_info.default,
|
||||
description=pydantic_field_info.description,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user