mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-08 23:32:40 +02:00
Remove icon from prompts, update schemas for system prompt overrides
This commit is contained in:
parent
16f4d007e4
commit
329e979d48
5 changed files with 19 additions and 20 deletions
|
|
@ -41,7 +41,6 @@ async def create_prompt(
|
|||
name=body.name,
|
||||
prompt=body.prompt,
|
||||
mode=body.mode,
|
||||
icon=body.icon,
|
||||
)
|
||||
session.add(prompt)
|
||||
await session.commit()
|
||||
|
|
@ -138,7 +137,6 @@ async def copy_public_prompt(
|
|||
name=source.name,
|
||||
prompt=source.prompt,
|
||||
mode=source.mode,
|
||||
icon=source.icon,
|
||||
is_public=False,
|
||||
)
|
||||
session.add(copy)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue