samiulttr commited on
Commit
80c821b
·
verified ·
1 Parent(s): 00f8210

Update sub_agents/coding/gitlab_agent/gitlab.py

Browse files
sub_agents/coding/gitlab_agent/gitlab.py CHANGED
@@ -4,7 +4,6 @@ from dotenv import load_dotenv
4
  from langchain.chat_models import init_chat_model
5
  from langchain.agents import create_agent
6
  from langchain_mcp_adapters.client import MultiServerMCPClient
7
- from langchain_litellm import ChatLiteLLM
8
 
9
  from storage_paths import agent_dir, open_agent_sqlite
10
 
@@ -21,7 +20,7 @@ DB_PATH = os.path.join(MEMORY_DIR, "state.db")
21
  # ---------------------------------------------------------------------------
22
  # SUB AGENT LLM
23
  # ---------------------------------------------------------------------------
24
- _sub_llm = ChatLiteLLM(
25
  model=os.getenv("SUB_LLM_MODEL"),
26
  api_key=os.getenv("SUB_LLM_API_KEY"),
27
  )
 
4
  from langchain.chat_models import init_chat_model
5
  from langchain.agents import create_agent
6
  from langchain_mcp_adapters.client import MultiServerMCPClient
 
7
 
8
  from storage_paths import agent_dir, open_agent_sqlite
9
 
 
20
  # ---------------------------------------------------------------------------
21
  # SUB AGENT LLM
22
  # ---------------------------------------------------------------------------
23
+ _sub_llm = init_chat_model(
24
  model=os.getenv("SUB_LLM_MODEL"),
25
  api_key=os.getenv("SUB_LLM_API_KEY"),
26
  )