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

Feature/Prompt Fetch from Langsmith Hub #1319

Merged
merged 12 commits into from
Dec 6, 2023

Conversation

vinodkiran
Copy link
Contributor

No description provided.

headers['x-api-key'] = decryptedCredentialData.langsmithApiKey

const tags = req.body.tags ? `tags=${req.body.tags}` : ''
const url = `https://web.hub.langchain.com/repos/?${tags}offset=0&limit=20&has_commits=true&sort_field=num_likes&sort_direction=desc&is_archived=false`
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need offset and limit here? on the UI we dont have pagination right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not needed for now, fixed and pushed changes

}
}
setSelectedPrompt(prompt)
await new Promise((resolve) => setTimeout(resolve, 500))
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we need a setTimeout here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not needed, fixed and pushed changes

@HenryHengZJ
Copy link
Contributor

Updated UI:
image

image

@HenryHengZJ HenryHengZJ merged commit 765e914 into FlowiseAI:main Dec 6, 2023
2 checks passed
hemati pushed a commit to hemati/Flowise that referenced this pull request Dec 27, 2023
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