🪢 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
fix(ci): temporarily fix modelmatch test by waiting 5 sec (#1129)
Marc Klingene7086cf0449b
diff --git a/src/__tests__/model-match.servertest.ts b/src/__tests__/model-match.servertest.tsindex 9e66fc0a1b..46a3438fa4 100644--- a/src/__tests__/model-match.servertest.ts+++ b/src/__tests__/model-match.servertest.ts@@ -92,5 +92,9 @@ describe("model match", () => {expect(observation.promptTokens).toBeGreaterThan(0);expect(observation.completionTokens).toBeGreaterThan(0);});- });++ // temporary fix: wait for 5 additional seconds to ensure that the model match is complete+ // had issue with the test failing because the model match was not complete and logged to console+ await new Promise((resolve) => setTimeout(resolve, 5000));+ }, 10000);});