Skip to content

Commit

Permalink
add support for xAI Grok beta
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Wu committed Nov 16, 2024
1 parent 3b4b02a commit 12102f2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions elia_chat/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,26 @@ def get_builtin_google_models() -> list[EliaChatModel]:
]


def get_builtin_xai_models() -> list[EliaChatModel]:
return [
EliaChatModel(
id="elia-grok-beta",
name="xai/grok-beta",
display_name="Grok Beta",
provider="xAI",
product="Grok",
description="Grok Beta",
temperature=0.7
)
]


def get_builtin_models() -> list[EliaChatModel]:
return (
get_builtin_openai_models()
+ get_builtin_anthropic_models()
+ get_builtin_google_models()
+ get_builtin_xai_models()
)


Expand Down

0 comments on commit 12102f2

Please sign in to comment.