Skip to content

Commit

Permalink
Merge pull request #723 from polywrap/release/prod
Browse files Browse the repository at this point in the history
Release April 10th
  • Loading branch information
dOrgJelli authored Apr 10, 2024
2 parents 6d8a78e + a084f08 commit fa3edf1
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
OPENAI_API_KEY=

# GPT_MODEL
# choose between gpt-4-1106-preview, gpt-3.5-turbo-16k-0613, gpt-4 and gpt-3.5-turbo-0613
GPT_MODEL="gpt-4-1106-preview"
# choose between gpt-4-turbo and gpt-3.5-turbo
GPT_MODEL="gpt-4-turbo"

# CONTEXT_WINDOW_TOKENS:
# The size of the context window, used for the agent's short-term memory
# The size of the context window, used for the agent's short-term memory (use 16385 with gpt-3.5-turbo)
CONTEXT_WINDOW_TOKENS=128000

# MAX_RESPONSE_TOKENS
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
run: yarn start:api -c &
env:
OPENAI_API_KEY: ${{ secrets.BENCHMARK_CI_OPENAI_API_KEY }}
GPT_MODEL: "gpt-4-1106-preview"
GPT_MODEL: "gpt-4-turbo"
CONTEXT_WINDOW_TOKENS: 128000
MAX_RESPONSE_TOKENS: 4096
SERP_API_KEY: ${{ secrets.BENCHMARK_CI_SERP_API_KEY }}
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
# evo.ninja
![](./docs/imgs/evo-ninja-logo.png)

![](https://hackmd.io/_uploads/ByWjLKAhn.png)
---

[Discord](https://discord.gg/k7UCsH3ps9) | [Website](https://evo.ninja) | Give the repo a :star: !
[Discord](https://discord.gg/k7UCsH3ps9) | [Website](https://evo.ninja) | :star: the repo !

---

## Welcome!

To get started using evo.ninja simply head to our [website](https://evo.ninja), or to build and run from source follow these [setup instructions](#setup).

![](./docs/imgs/evo-ninja-app.png)

## Need Help?

Join our [Discord community](https://discord.gg/k7UCsH3ps9) for support and discussions.
Expand Down
2 changes: 1 addition & 1 deletion apps/browser/lib/hooks/useAccountConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const validateOpenAiApiKey = async (
): Promise<string | void> => {
try {
// Make sure that given api key has access to GPT-4
await checkLlmModel(openAiApiKey, "gpt-4-1106-preview");
await checkLlmModel(openAiApiKey, "gpt-4-turbo");
} catch (e: any) {
if (e.message.includes("Incorrect API key provided")) {
throw new Error(
Expand Down
2 changes: 1 addition & 1 deletion apps/browser/lib/services/evo/createEvoInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function createEvoInstance(

const env = new Env({
OPENAI_API_KEY: openAiApiKey || " ",
GPT_MODEL: "gpt-4-1106-preview",
GPT_MODEL: "gpt-4-turbo",
CONTEXT_WINDOW_TOKENS: "128000",
MAX_RESPONSE_TOKENS: "4096",
});
Expand Down
Binary file added docs/imgs/evo-ninja-app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/imgs/evo-ninja-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/agents/src/agent-core/llm/LlmApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export declare const LlmModels: {
readonly GPT3_16k: "gpt-3.5-turbo-16k";
readonly GPT4: "gpt-4";
readonly GPT4_32k: "gpt-4-32k";
readonly GPT4_TURBO: "gpt-4-1106-preview"
readonly GPT4_TURBO: "gpt-4-turbo"
};
export declare type LlmModel = typeof LlmModels[keyof typeof LlmModels];

Expand Down

0 comments on commit fa3edf1

Please sign in to comment.