Change "following fields were present in the request but ignored" log from warn to debug (#36173)
Signed-off-by: Tyler Michael Smith <tlrmchlsmth@gmail.com>
This commit is contained in:
@@ -49,7 +49,7 @@ class OpenAIBaseModel(BaseModel):
|
|||||||
|
|
||||||
# Compare against both field names and aliases
|
# Compare against both field names and aliases
|
||||||
if any(k not in field_names for k in data):
|
if any(k not in field_names for k in data):
|
||||||
logger.warning(
|
logger.debug(
|
||||||
"The following fields were present in the request but ignored: %s",
|
"The following fields were present in the request but ignored: %s",
|
||||||
data.keys() - field_names,
|
data.keys() - field_names,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user