[object Object]

← back to Exo

defining optional

1ca11eadbf59c2499e64db07af5ade4e923b4b39 · 2024-11-21 07:37:58 -0800 · cadenmackenzie

Files touched

Diff

commit 1ca11eadbf59c2499e64db07af5ade4e923b4b39
Author: cadenmackenzie <cadenmackenzie@gmail.com>
Date:   Thu Nov 21 07:37:58 2024 -0800

    defining optional
---
 exo/api/chatgpt_api.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exo/api/chatgpt_api.py b/exo/api/chatgpt_api.py
index 07f34c6d..753750b9 100644
--- a/exo/api/chatgpt_api.py
+++ b/exo/api/chatgpt_api.py
@@ -17,7 +17,7 @@ from exo.helpers import PrefixDict, shutdown
 from exo.inference.tokenizers import resolve_tokenizer
 from exo.orchestration import Node
 from exo.models import build_base_shard, model_cards, get_repo, pretty_name
-from typing import Callable
+from typing import Callable, Optional
 from exo.download.hf.hf_shard_download import HFShardDownloader
 
 class Message:

← 9a6af743 fixes  ·  back to Exo  ·  new tinychat ui c7897366 →