Spaces:
Sleeping
Sleeping
Commit ·
43e596a
1
Parent(s): b73b717
changes to groqllm class
Browse files- app/main_api.py +4 -0
app/main_api.py
CHANGED
|
@@ -74,6 +74,10 @@ class GroqLLM(LLM):
|
|
| 74 |
groq_client = any
|
| 75 |
api_key_manager = any
|
| 76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
@property
|
| 78 |
def _llm_type(self) -> str:
|
| 79 |
return "groq"
|
|
|
|
| 74 |
groq_client = any
|
| 75 |
api_key_manager = any
|
| 76 |
|
| 77 |
+
class Config:
|
| 78 |
+
"""Configuration for this Pydantic model."""
|
| 79 |
+
arbitrary_types_allowed = True
|
| 80 |
+
|
| 81 |
@property
|
| 82 |
def _llm_type(self) -> str:
|
| 83 |
return "groq"
|