fabulous does not work on Windows

This commit is contained in:
Nicholas Albion
2023-09-20 22:14:59 +10:00
parent aa1bca8775
commit 0660244017
15 changed files with 89 additions and 49 deletions

View File

@@ -9,7 +9,7 @@ import json
import hashlib
import re
from jinja2 import Environment, FileSystemLoader
from fabulous.color import green
from termcolor import colored
from const.llm import MAX_QUESTIONS, END_RESPONSE
from const.common import ROLES, STEPS
@@ -126,7 +126,7 @@ def step_already_finished(args, step):
args.update(step['app_data'])
message = f"{capitalize_first_word_with_underscores(step['step'])} already done for this app_id: {args['app_id']}. Moving to next step..."
print(green(message))
print(colored(message, 'green'))
logger.info(message)