mirror of
https://github.com/senju1337/senju.git
synced 2025-12-24 07:39:29 +00:00
Merge pull request #31 from senju1337/fix/OPS-64
Fix/ops 64 Fix the poem extraction from the ai to drastically reduce regeneraions
This commit is contained in:
commit
2c7394edfa
2 changed files with 5 additions and 1 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -175,5 +175,9 @@ pyrightconfig.json
|
|||
# Ollama Local Dir
|
||||
ollama
|
||||
|
||||
|
||||
# Yes i know
|
||||
*.kate-swp
|
||||
# sphinx rst files
|
||||
docs/source/_modules
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ class Haiku:
|
|||
|
||||
lines = ai_response.split("\n")
|
||||
|
||||
for _ in range(0, 2):
|
||||
while len(lines) != 3:
|
||||
lines.pop()
|
||||
|
||||
logging.warning(lines)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue