Skip to content

Commit

Permalink
feat: support llama3
Browse files Browse the repository at this point in the history
  • Loading branch information
CNSeniorious000 committed Apr 19, 2024
1 parent 1250a92 commit cb27172
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/routes/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ class Msg(BaseModel):
"claude-3-sonnet-20240229",
"claude-3-haiku-20240307",
"gemma-7b-it",
"llama3-8b-8192",
"llama3-70b-8192",
"llama2-70b-4096",
"mixtral-8x7b-32768",
"nous-hermes-2-mixtral-8x7b-dpo",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/llm/groq.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


@link_llm("gemma")
@link_llm("llama2")
@link_llm("llama")
@link_llm("mixtral")
class Groq(AsyncChatOpenAI):
async def complete(self, prompt: str | list[Message], /, **config):
Expand Down

0 comments on commit cb27172

Please sign in to comment.