diff options
author | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2023-05-04 18:38:00 -0500 |
---|---|---|
committer | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2023-05-04 18:38:00 -0500 |
commit | a74933b2d83efb5da4e0f1851d65ad575f04a65d (patch) | |
tree | c18a7a757772bdf03f970c986e84bf0dce1d9de0 | |
parent | 44b15a775e3f5370c81507534df103f63611b956 (diff) | |
download | gpt-chat-cli-a74933b2d83efb5da4e0f1851d65ad575f04a65d.tar.xz gpt-chat-cli-a74933b2d83efb5da4e0f1851d65ad575f04a65d.zip |
Re-order includes
-rw-r--r-- | color.py | 1 | ||||
-rw-r--r-- | gcli.py | 3 | ||||
-rw-r--r-- | openai_wrappers.py | 3 |
3 files changed, 4 insertions, 3 deletions
@@ -1,6 +1,5 @@ from typing import Literal - class ColorCode: """A superclass to signal that color codes are strings""" @@ -1,8 +1,9 @@ import argparse -from collections import defaultdict import sys import openai import pickle + +from collections import defaultdict from dataclasses import dataclass from typing import Tuple diff --git a/openai_wrappers.py b/openai_wrappers.py index cad024a..784a9ce 100644 --- a/openai_wrappers.py +++ b/openai_wrappers.py @@ -1,8 +1,9 @@ import json +import openai + from typing import Any, List, Optional, Generator from dataclasses import dataclass from enum import Enum, auto -import openai @dataclass class Delta: |