🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
import { api } from "@/src/utils/api";
export function useSkillInstallOptions(projectId: string, initialName: string) {
const query = api.skills.filterOptions.useQuery(
{ projectId },
{ enabled: Boolean(projectId) },
);
const names = [
...new Set([
...(query.data?.names ?? []),
...(initialName ? [initialName] : []),
]),
].sort((a, b) => a.localeCompare(b));
return { query, names };
}