diff --git a/docs/features/plugin/functions/tab-shared/Common.md b/docs/features/plugin/functions/tab-shared/Common.md index acd41d5..d7916db 100644 --- a/docs/features/plugin/functions/tab-shared/Common.md +++ b/docs/features/plugin/functions/tab-shared/Common.md @@ -13,10 +13,10 @@ Valves are configurable by admins alone via the Tools or Functions menus. On the from pydantic import BaseModel, Field # Define and Valves -Class Filter: +class Filter: # Notice the current indentation: Valves and UserValves must be declared as # attributes of a Tools, Filter or Pipe class. Here we take the - example of a Filter. + # example of a Filter. class Valves(BaseModel): # Valves and UserValves inherit from pydantic's BaseModel. This # enables complex use cases like model validators etc. diff --git a/docs/features/plugin/tools/index.mdx b/docs/features/plugin/tools/index.mdx index c5bea25..e1e4f32 100644 --- a/docs/features/plugin/tools/index.mdx +++ b/docs/features/plugin/tools/index.mdx @@ -106,10 +106,10 @@ Valves are configurable by admins alone via the Tools or Functions menus. On the from pydantic import BaseModel, Field # Define and Valves -Class Tool: +class Tool: # Notice the current indentation: Valves and UserValves must be declared as # attributes of a Tools, Filter or Pipe class. Here we take the - example of a Tool. + # example of a Tool. class Valves(BaseModel): # Valves and UserValves inherit from pydantic's BaseModel. This # enables complex use cases like model validators etc.