pgleeson commited on
Commit
f4ce985
·
1 Parent(s): 4bb21f8

Improve GEMINI

Browse files
Files changed (2) hide show
  1. ring.py +1 -4
  2. test.py +0 -1
ring.py CHANGED
@@ -10,6 +10,7 @@ from openworm_ai.utils.llms import get_llm as get_llm_via_openworm_ai
10
 
11
  from openworm_ai.utils.llms import requires_openai_key
12
  from openworm_ai.utils.llms import get_openai_api_key
 
13
 
14
 
15
  from openworm_ai.utils.llms import LLM_GPT35
@@ -42,10 +43,6 @@ def get_llamaapi_key():
42
 
43
  return llamaapi_key
44
 
45
- def get_gemini_api_key():
46
- gemini_api_key = os.environ.get("GEMINIAPI_KEY")
47
-
48
- return gemini_api_key
49
 
50
  def get_anthropic_key():
51
  anthropic_api_key = os.environ.get["ANTHROPIC_API_KEY"]
 
10
 
11
  from openworm_ai.utils.llms import requires_openai_key
12
  from openworm_ai.utils.llms import get_openai_api_key
13
+ from openworm_ai.utils.llms import get_gemini_api_key
14
 
15
 
16
  from openworm_ai.utils.llms import LLM_GPT35
 
43
 
44
  return llamaapi_key
45
 
 
 
 
 
46
 
47
  def get_anthropic_key():
48
  anthropic_api_key = os.environ.get["ANTHROPIC_API_KEY"]
test.py CHANGED
@@ -2,7 +2,6 @@ from ring import LLM_GPT4o
2
  from ring import LLM_GPT35
3
  from ring import LLM_LLAMA2
4
  from ring import LLM_GEMINI
5
- from ring import LLM_AI21
6
  from ring import LLM_CLAUDE2
7
  from ring import LLM_COHERE
8
 
 
2
  from ring import LLM_GPT35
3
  from ring import LLM_LLAMA2
4
  from ring import LLM_GEMINI
 
5
  from ring import LLM_CLAUDE2
6
  from ring import LLM_COHERE
7