Amitabhab commited on
Commit
469017a
1 Parent(s): 62eb936

Using model parameters from environment variables

Browse files
Files changed (1) hide show
  1. crew.py +2 -5
crew.py CHANGED
@@ -8,13 +8,10 @@ from crewai.project import CrewBase, agent, crew, task
8
  from crewai_tools import SerperDevTool, ScrapeWebsiteTool
9
  #from pydantic import BaseModel, Field
10
  from typing import List, Optional
11
- import os
12
 
13
- os.environ["OPENAI_API_KEY"] = "aGlhbWl0YWJoYV9fZ21haWwuY29tOnhvbnhGMmh2MEU="
14
- os.environ["OPENAI_API_BASE"] = "https://api.sambanova.ai/v1"
15
- os.environ["OPENAI_MODEL_NAME"] = "sambanova/Meta-Llama-3.1-70B-Instruct"
16
 
17
- llm = LLM(model="sambanova/Meta-Llama-3.1-70B-Instruct")
18
 
19
  """
20
  class Activity(BaseModel):
 
8
  from crewai_tools import SerperDevTool, ScrapeWebsiteTool
9
  #from pydantic import BaseModel, Field
10
  from typing import List, Optional
 
11
 
12
+ import os
 
 
13
 
14
+ llm = LLM(model=os.environ("OPENAI_MODEL_NAME")
15
 
16
  """
17
  class Activity(BaseModel):