Rishabh2095 commited on
Commit
4e6b7ed
·
1 Parent(s): 0aefc84

Modified configuration for LLMs

Browse files
src/job_writing_agent/agents/nodes.py CHANGED
@@ -41,7 +41,7 @@ def create_draft(state: ResearchState) -> ResultState:
41
  # Create LLM inside function (lazy initialization)
42
  llm_provider = LLMFactory()
43
  llm = llm_provider.create_langchain(
44
- "google/gemma-3-27b-it:free",
45
  provider="openrouter",
46
  temperature=0.3,
47
  )
@@ -139,7 +139,7 @@ def critique_draft(state: ResultState) -> ResultState:
139
  # Create LLM inside function (lazy initialization)
140
  llm_provider = LLMFactory()
141
  llm = llm_provider.create_langchain(
142
- "google/gemma-3-27b-it:free",
143
  provider="openrouter",
144
  temperature=0.3,
145
  )
@@ -269,7 +269,7 @@ def finalize_document(state: ResultState) -> ResultState:
269
  # Create LLM inside function (lazy initialization)
270
  llm_provider = LLMFactory()
271
  llm = llm_provider.create_langchain(
272
- "google/gemma-3-27b-it:free",
273
  provider="openrouter",
274
  temperature=0.3,
275
  )
 
41
  # Create LLM inside function (lazy initialization)
42
  llm_provider = LLMFactory()
43
  llm = llm_provider.create_langchain(
44
+ "openai/gpt-oss-20b:free",
45
  provider="openrouter",
46
  temperature=0.3,
47
  )
 
139
  # Create LLM inside function (lazy initialization)
140
  llm_provider = LLMFactory()
141
  llm = llm_provider.create_langchain(
142
+ "openai/gpt-oss-20b:free",
143
  provider="openrouter",
144
  temperature=0.3,
145
  )
 
269
  # Create LLM inside function (lazy initialization)
270
  llm_provider = LLMFactory()
271
  llm = llm_provider.create_langchain(
272
+ "openai/gpt-oss-20b:free",
273
  provider="openrouter",
274
  temperature=0.3,
275
  )
src/job_writing_agent/nodes/variations.py CHANGED
@@ -34,7 +34,7 @@ def generate_variations(state: ResultState) -> dict[str, list[str]]:
34
  # Create LLM inside function (lazy initialization)
35
  llm_provider = LLMFactory()
36
  llm = llm_provider.create_langchain(
37
- "google/gemma-3-27b-it:free", provider="openrouter", temperature=0.3
38
  )
39
 
40
  variations = []
 
34
  # Create LLM inside function (lazy initialization)
35
  llm_provider = LLMFactory()
36
  llm = llm_provider.create_langchain(
37
+ "openai/gpt-oss-20b:free", provider="openrouter", temperature=0.3
38
  )
39
 
40
  variations = []