Skip to content

Commit

Permalink
Merge pull request #9 from kodaline/develop
Browse files Browse the repository at this point in the history
edit: using settings_model
  • Loading branch information
zAlweNy26 committed Dec 24, 2023
2 parents c297bdc + 70dc7d2 commit d958ead
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ The script will prompt you to write the name of your plugin and make an initial

> **Important**
> A new release of your plugin is triggered every time you set a new `version` in the `plugin.json` file.
> Please, remember to set it correctly every time to want to release an update.
> Please, remember to set it correctly every time you want to release an update.
4 changes: 2 additions & 2 deletions my_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ class MySettings(BaseModel):
optional_date: date = 1679616000

@plugin
def settings_schema():
return MySettings.schema()
def settings_model():
return MySettings

@tool
def get_the_day(tool_input, cat):
Expand Down

0 comments on commit d958ead

Please sign in to comment.