aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflu0r1ne <flu0r1ne@flu0r1ne.net>2023-05-04 18:38:00 -0500
committerflu0r1ne <flu0r1ne@flu0r1ne.net>2023-05-04 18:38:00 -0500
commita74933b2d83efb5da4e0f1851d65ad575f04a65d (patch)
treec18a7a757772bdf03f970c986e84bf0dce1d9de0
parent44b15a775e3f5370c81507534df103f63611b956 (diff)
downloadgpt-chat-cli-a74933b2d83efb5da4e0f1851d65ad575f04a65d.tar.xz
gpt-chat-cli-a74933b2d83efb5da4e0f1851d65ad575f04a65d.zip
Re-order includes
-rw-r--r--color.py1
-rw-r--r--gcli.py3
-rw-r--r--openai_wrappers.py3
3 files changed, 4 insertions, 3 deletions
diff --git a/color.py b/color.py
index b868290..ce1b182 100644
--- a/color.py
+++ b/color.py
@@ -1,6 +1,5 @@
from typing import Literal
-
class ColorCode:
"""A superclass to signal that color codes are strings"""
diff --git a/gcli.py b/gcli.py
index 6f9e58c..957034b 100644
--- a/gcli.py
+++ b/gcli.py
@@ -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: