Skip to content

Commit

Permalink
Small type fixes (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
kgrofelnik authored Apr 2, 2024
1 parent 154f770 commit b517a2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oracles/src/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class PromptType(str, Enum):
GROQ = "Groq"


PromptTypeLiteral = Literal[PromptType.DEFAULT, PromptType.OPENAI]
PromptTypeLiteral = Literal[PromptType.DEFAULT, PromptType.OPENAI, PromptType.GROQ]

OpenaiToolChoiceType = Literal["none", "auto"]

Expand All @@ -47,7 +47,7 @@ class OpenAiConfig:

@dataclass
class GroqConfig:
model: OpenAiModelType
model: GroqModelType
frequency_penalty: Optional[float]
logit_bias: Optional[Dict]
max_tokens: Optional[int]
Expand Down

0 comments on commit b517a2f

Please sign in to comment.