diff --git a/gptscript/gptscript.py b/gptscript/gptscript.py index d7891a8..0ed157e 100644 --- a/gptscript/gptscript.py +++ b/gptscript/gptscript.py @@ -53,12 +53,8 @@ def __init__(self, opts: GlobalOptions = None): if not (self.opts.URL.startswith("http://") or self.opts.URL.startswith("https://")): self.opts.URL = f"http://{self.opts.URL}" - self.opts.Env.append("GPTSCRIPT_URL=" + self.opts.URL) - if self.opts.Token == "": self.opts.Token = os.environ.get("GPTSCRIPT_TOKEN", "") - if self.opts.Token != "": - self.opts.Env.append("GPTSCRIPT_TOKEN=" + self.opts.Token) def close(self): GPTScript.__gptscript_count -= 1