File size: 315 Bytes
783a8bf
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
from ._common import BaseConversationalTask


class GroqConversationalTask(BaseConversationalTask):
    def __init__(self):
        super().__init__(provider="groq", base_url="https://api.groq.com")

    def _prepare_route(self, mapped_model: str, api_key: str) -> str:
        return "/openai/v1/chat/completions"