Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow users to customize the model #29

Merged
merged 2 commits into from
Apr 13, 2024
Merged

Allow users to customize the model #29

merged 2 commits into from
Apr 13, 2024

Conversation

winniesi
Copy link
Contributor

If not set, the default is to use gpt-4-turbo.

Copy link

vercel bot commented Apr 13, 2024

@winniesi is attempting to deploy a commit to the morphic Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Apr 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
morphic ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 13, 2024 2:36am

Copy link
Owner

@miurla miurla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good pull request. Thank you!

The task manager is also specifying the model, so I'd like you to make a similar change there as well.
Currently, gpt-3.5-turbo is set, but to avoid complexity, let's set gpt-4-turbo as the default.

https://github.com/miurla/morphic/blob/main/lib/agents/task-manager.tsx#L14

model: openai.chat(process.env.OPENAI_API_MODEL || 'gpt-4-turbo'),

Copy link
Owner

@miurla miurla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@miurla miurla merged commit ea52e26 into miurla:main Apr 13, 2024
2 checks passed
@winniesi
Copy link
Contributor Author

Super happy to see such a great project!

miurla added a commit that referenced this pull request Apr 23, 2024
Add new pages and components for legal terms and privacy
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants