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

feat: Set Ollama URL from ollamaInfo in PlaygroundEmpty #260

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

farooqpk
Copy link
Contributor

Description:

Added a useEffect hook in the PlaygroundEmpty component to set the Ollama URL from the ollamaInfo object. This ensures the component updates the URL whenever ollamaInfo changes.

Changes:

  • Set ollamaURL state based on ollamaInfo.ollamaURL.

@n4ze3m n4ze3m self-requested a review November 27, 2024 07:24
Copy link
Owner

@n4ze3m n4ze3m left a comment

Choose a reason for hiding this comment

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

thanks :). LGTM

@n4ze3m n4ze3m changed the base branch from main to next November 27, 2024 07:27
@n4ze3m n4ze3m merged commit 8d12e91 into n4ze3m:next Nov 27, 2024
3 checks 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