mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-20 14:14:26 -04:00
PydanticDeprecatedSince211: Accessing the 'model_fields' attribute on the instance is deprecated.
#265
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @khteh on GitHub (Apr 23, 2025).
Originally assigned to: @ParthSareen on GitHub.
My terminal is innundated with these warnings:
@khteh commented on GitHub (Apr 24, 2025):
How do I filter out this warning from being logged?
@ParthSareen commented on GitHub (Apr 24, 2025):
Hey @khteh will check this out - is this happening with any request?
@khteh commented on GitHub (Apr 24, 2025):
It happens at rest
@khteh commented on GitHub (May 27, 2025):
Sorry, it happens when serving requests and every request. When can this be fixed?
@jonigl commented on GitHub (May 30, 2025):
you can try
warnings.filterwarnings("ignore", category=DeprecationWarning, module="ollama")@khteh commented on GitHub (Jun 4, 2025):
Is this fixed? I don't see the warnings in the console anymore after updating my
pipenvdependencies..?