From e2088f56157ca6045af60fe629c95f8b18848b71 Mon Sep 17 00:00:00 2001 From: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com> Date: Sun, 9 Mar 2025 08:33:49 +0100 Subject: [PATCH] fix: typo Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com> --- docs/features/plugin/functions/tab-shared/Common.md | 4 ++-- docs/features/plugin/tools/index.mdx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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.