Skip to content

Commit

Permalink
✨ feat(controller): add option to hide long text in tagger response
Browse files Browse the repository at this point in the history
Added `hidden_long_text` parameter to `tagger` method to control
the display of long text responses. Updated relevant method calls
to include the new parameter.
  • Loading branch information
sudoskys committed Sep 28, 2024
1 parent 0418b05 commit 8a4a963
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ async def read_novelai(file: BytesIO):
else:
message.extend(
[
f"**📦 Prompt:** `{read_prompt}`",
f"**📦 Model:** `{read_model.value}`",
f"**📦 Source:** `{meta_data.Source}`",
f"**📦 Prompt:** `{read_prompt}`" if read_prompt else "",
f"**📦 Model:** `{read_model.value}`" if read_model else "",
f"**📦 Source:** `{meta_data.Source}`" if meta_data.Source else "",
]
)
try:
Expand Down

0 comments on commit 8a4a963

Please sign in to comment.