There was an error while loading. Please reload this page.
1 parent 3bc5b74 commit 4f27293Copy full SHA for 4f27293
giskard/llm/client/groq_client.py
@@ -39,7 +39,14 @@ def __init__(
39
logger.info(f"Initializing GroqClient with model: {model}")
40
self.model = model
41
self._client = client or Groq()
42
- logger.info("GroqClient initialized successfully")
+ logger.info("GroqClient initialized successfully")
43
+
44
+ def get_config(self) -> dict:
45
+ """Return the configuration of the LLM client."""
46
+ return {
47
+ "client_type": self.__class__.__name__,
48
+ "model": self.model
49
+ }
50
51
def complete(
52
self,
@@ -89,4 +96,4 @@ def complete(
89
96
90
97
msg = completion.choices[0].message
91
98
92
- return ChatMessage(role=msg.role, content=msg.content)
99
+ return ChatMessage(role=msg.role, content=msg.content)
0 commit comments