Devika is the first open-source implementation of an Agentic Software Engineer. Initially started as an open-source alternative to Devin.
Python
Fix - Groq class
rajakumar050320009d11f19d4dce
diff --git a/src/llm/groq_client.py b/src/llm/groq_client.pyindex 92fb840..e504751 100644--- a/src/llm/groq_client.py+++ b/src/llm/groq_client.py@@ -1,15 +1,16 @@-from groq import Groq+from groq import Groq as _Groqfrom src.config import Config+class Groq:- def __init__(self, api_key: str):+ def __init__(self):config = Config()api_key = config.get_groq_api_key()- self.client = Groq(+ self.client = _Groq(api_key=api_key,)-+def inference(self, model_id: str, prompt: str) -> str:chat_completion = self.client.chat.completions.create(messages=[