Skip to content

Commit

Permalink
Support for OpenRouter o1
Browse files Browse the repository at this point in the history
  • Loading branch information
saten-private committed Sep 16, 2024
1 parent 237872e commit eb8b4e8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
# which require new variable to be added to the .env file

# API CONFIG
LLM_MODEL=claude-3-5-sonnet-20240620 # Use 8K output max-tokens-3-5-sonnet-2024-07-15 https://x.com/alexalbert__/status/1812921642143900036, alternatively, gpt-4o etc
LLM_VISION_MODEL=claude-3-5-sonnet-20240620
TOKEN_COUNT_MODEL=claude-3-5-sonnet-20240620
LLM_MODEL="openai/o1-preview" # openai/o1-preview is OpenRouter's API, alternatively, claude-3-5-sonnet-20240620(Use 8K output max-tokens-3-5-sonnet-2024-07-15 https://x.com/alexalbert__/status/1812921642143900036) etc
LLM_VISION_MODEL= # LLM for use with Vision
TOKEN_COUNT_MODEL=gpt-4o # Use gpt-4o for o1 based on https://github.com/openai/tiktoken/issues/337#issuecomment-2348139508, alternatively, claude-3-5-sonnet-20240620

OPENROUTER_API_KEY=

ANTHROPIC_API_KEY=
ANTHROPIC_TEMPERATURE=0.5

OPENAI_API_KEY=
OPENAI_TEMPERATURE=0.5

OPENROUTER_API_KEY=

GOOGLE_AI_STUDIO_API_KEY=
GEMINI_TEMPERATURE=

Expand Down
2 changes: 1 addition & 1 deletion README-jp.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ️Claude 3.5 Sonnet(8Kアウトプット)とGPT-4oに対応⭐️
# ️o1-preview(OpenRouter)とClaude 3.5 Sonnet(8Kアウトプット)に対応⭐️

# 注意事項

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ⭐️Now supported Claude 3.5 Sonnet(8K output) and GPT-4o⭐️
# ⭐️Now supported o1-preview(OpenRouter) and Claude 3.5 Sonnet(8K output)⭐️

# Precautions

Expand Down

0 comments on commit eb8b4e8

Please sign in to comment.