Skip to content

Commit

Permalink
feat: add reasoning model support to NodeHost 🌟
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Dec 13, 2024
1 parent 143ac3a commit 8883c18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/src/content/docs/reference/scripts/model-aliases.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,6 @@ By default, GenAIScript supports the following model aliases:

The following aliases are also set so that you can override LLMs used by GenAIScript itself.

- `reasoning`: `large`. In the future, `o1` like models.
- `agent`: `large`. Model used by the Agent LLM.
- `memory`: `small`. Moel used by the agent short term memory.
1 change: 1 addition & 0 deletions packages/cli/src/nodehost.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ export class NodeHost implements RuntimeHost {
small: { model: DEFAULT_SMALL_MODEL, source: "default" },
vision: { model: DEFAULT_VISION_MODEL, source: "default" },
embeddings: { model: DEFAULT_EMBEDDINGS_MODEL, source: "default" },
reasoning: { model: LARGE_MODEL_ID, source: "default" },
agent: { model: LARGE_MODEL_ID, source: "default" },
memory: { model: SMALL_MODEL_ID, source: "default" },
},
Expand Down

0 comments on commit 8883c18

Please sign in to comment.