Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix: Add OLLAMA model to the getTokenForProvider class #1338

Merged
merged 1 commit into from
Dec 21, 2024

Conversation

amirkhonov
Copy link
Contributor

Risks

No risks

Background

This pull request includes a small change to the agent/src/index.ts file. The change adds a new case for the OLLAMA model provider to the getTokenForProvider function, returning an empty string for this provider.

What does this PR do?

agent/src/index.ts: Added a case for ModelProviderName.OLLAMA in the getTokenForProvider function to return an empty string.

Relates to:

What kind of change is this?

Bug fixes (non-breaking change which fixes an issue)

Documentation changes needed?

My changes do not require a change to the project documentation.

Testing

Where should a reviewer start?

Detailed testing steps

Copy link
Collaborator

@monilpat monilpat left a comment

Choose a reason for hiding this comment

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

LGTM

@monilpat monilpat merged commit 0dc60c8 into elizaOS:develop Dec 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants