Skip to content

Commit

Permalink
Downgrade textual
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Jun 20, 2024
1 parent 004aa83 commit 6dc8d2f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
15 changes: 14 additions & 1 deletion elia_chat/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def get_builtin_openai_models() -> list[EliaChatModel]:
provider="OpenAI",
product="ChatGPT",
description="Fast & inexpensive model for simple tasks.",
temperature=0.7,
),
EliaChatModel(
id="elia-gpt-4o",
Expand All @@ -63,6 +64,7 @@ def get_builtin_openai_models() -> list[EliaChatModel]:
provider="OpenAI",
product="ChatGPT",
description="Fastest and most affordable flagship model.",
temperature=0.7,
),
EliaChatModel(
id="elia-gpt-4-turbo",
Expand All @@ -71,12 +73,23 @@ def get_builtin_openai_models() -> list[EliaChatModel]:
provider="OpenAI",
product="ChatGPT",
description="Previous high-intelligence model.",
temperature=0.7,
),
]


def get_builtin_anthropic_models() -> list[EliaChatModel]:
return [
EliaChatModel(
id="elia-claude-3-5-sonnet-20240620",
name="claude-3-5-sonnet-20240620",
display_name="Claude 3.5 Sonnet",
provider="Anthropic",
product="Claude 3.5",
description=(
"Anthropic's most intelligent model"
),
),
EliaChatModel(
id="elia-claude-3-haiku-20240307",
name="claude-3-haiku-20240307",
Expand All @@ -103,7 +116,7 @@ def get_builtin_anthropic_models() -> list[EliaChatModel]:
display_name="Claude 3 Opus",
provider="Anthropic",
product="Claude 3",
description="Most powerful model for highly complex tasks",
description="Excels at writing and complex tasks",
),
]

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = [
{ name = "Darren Burns", email = "[email protected]" }
]
dependencies = [
"textual[syntax]==0.60.0",
"textual[syntax]==0.62",
"sqlmodel>=0.0.9",
"humanize>=4.6.0",
"click>=8.1.6",
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ sqlalchemy==2.0.25
# via sqlmodel
sqlmodel==0.0.14
# via elia-chat
textual==0.60.0
textual==0.62.0
# via elia-chat
# via textual-dev
textual-dev==1.4.0
Expand Down
2 changes: 1 addition & 1 deletion requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ sqlalchemy==2.0.25
# via sqlmodel
sqlmodel==0.0.14
# via elia-chat
textual==0.60.0
textual==0.62.0
# via elia-chat
tiktoken==0.7.0
# via litellm
Expand Down

0 comments on commit 6dc8d2f

Please sign in to comment.