kenken999 commited on
Commit
eefb42f
β€’
1 Parent(s): a6ef467
controllers/γƒͺγƒ•γ‚‘γ‚Ήγ‚Ώγƒγƒ£γƒƒγƒˆγ« ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 2cca6aee35a787e6ec00092484a9e923e4729fdb
gpt-engineer/hist.txt CHANGED
@@ -16,16 +16,14 @@
16
  16 python testgroq.py
17
  17 git clone https://github.com/gpt-engineer-org/gpt-engineer.git
18
  18 export OPENAI_API_BASE="https://api.groq.com/openai/v11"
19
- 19 export OPENAI_API_KEY="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"
20
- 20 export MODEL_NAME="Llama3-70b-8192"
21
  21 cd ./gpt-engineer/
22
  22 make install
23
  23 pip install poetry
24
  24 make install
25
  25 make run example
26
  26 export OPENAI_API_BASE="https://api.groq.com/openai/v1"
27
- 27 export OPENAI_API_KEY="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"
28
- 28 export MODEL_NAME="Llama3-70b-8192"
29
  29 make run example
30
  30 export MODEL_NAME="Llama3-70b-8192"
31
  31 make run example
 
16
  16 python testgroq.py
17
  17 git clone https://github.com/gpt-engineer-org/gpt-engineer.git
18
  18 export OPENAI_API_BASE="https://api.groq.com/openai/v11"
19
+ 19 export MODEL_NAME="Llama3-70b-8192"
 
20
  21 cd ./gpt-engineer/
21
  22 make install
22
  23 pip install poetry
23
  24 make install
24
  25 make run example
25
  26 export OPENAI_API_BASE="https://api.groq.com/openai/v1"
26
+ 27 export MODEL_NAME="Llama3-70b-8192"
 
27
  29 make run example
28
  30 export MODEL_NAME="Llama3-70b-8192"
29
  31 make run example
mysite/interpreter/interpreter.py CHANGED
@@ -14,7 +14,7 @@ GENERATION_TIMEOUT_SEC=60
14
 
15
  def set_environment_variables():
16
  os.environ["OPENAI_API_BASE"] = "https://api.groq.com/openai/v1"
17
- os.environ["OPENAI_API_KEY"] = "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"
18
  os.environ["MODEL_NAME"] = "llama3-8b-8192"
19
  os.environ["LOCAL_MODEL"] = "true"
20
 
 
14
 
15
  def set_environment_variables():
16
  os.environ["OPENAI_API_BASE"] = "https://api.groq.com/openai/v1"
17
+ os.environ["OPENAI_API_KEY"] = os.getenv("api_key")
18
  os.environ["MODEL_NAME"] = "llama3-8b-8192"
19
  os.environ["LOCAL_MODEL"] = "true"
20