mirror of
https://github.com/Pythagora-io/gpt-pilot.git
synced 2026-01-09 13:17:55 -05:00
revert colors
This commit is contained in:
@@ -77,7 +77,7 @@ def create_gpt_chat_completion(messages: List[dict], req_type, min_tokens=MIN_TO
|
||||
|
||||
|
||||
def stream_gpt_completion(data, req_type):
|
||||
print(colored("Waiting for OpenAI API response...", 'light_magenta'))
|
||||
print(colored("Waiting for OpenAI API response...", 'yellow'))
|
||||
api_key = os.getenv("OPENAI_API_KEY")
|
||||
|
||||
logger.info(f'Request data: {data}')
|
||||
|
||||
@@ -2,10 +2,11 @@ from prompt_toolkit.styles import Style
|
||||
import questionary
|
||||
|
||||
custom_style = Style.from_dict({
|
||||
'question': '#ff9d00 bold', # the color and style of the question
|
||||
'answer': '#7CFC00 bold', # the color and style of the answer
|
||||
'question': '#FFFFFF bold', # the color and style of the question
|
||||
'answer': '#FF910A bold', # the color and style of the answer
|
||||
'pointer': '#FF4500 bold', # the color and style of the selection pointer
|
||||
'highlighted': '#800080 bold' # the color and style of the highlighted choice
|
||||
'highlighted': '#63CD91 bold', # the color and style of the highlighted choice
|
||||
'instruction': '#FFFF00 bold' # the color and style of the question mark
|
||||
})
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user