Skip to content

Commit

Permalink
fix(lib): add sep from file
Browse files Browse the repository at this point in the history
  • Loading branch information
snowyu committed Aug 31, 2024
1 parent 6b0d6a7 commit f4202ca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/summary.ai.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 0.2.0
version: 0.2.1
type: lib
description: |-
Summarize the content or a text file in detail, capturing the key points and essence of the document.
Expand Down Expand Up @@ -34,9 +34,10 @@ output:
fileContent: "@file({{file}})"
- system: |-
Summarize the following content or file provided by the user in detail, capturing the key points and essence of it.
{%- if len and len > 0 -%}
{% if len and len > 0 %}
Keep the summary within {{len}} characters.
{% endif %}
---
{{fileContent}}
---
- $if: "this.content || this.fileContent"
Expand Down

0 comments on commit f4202ca

Please sign in to comment.