From 9e16a6b91a327563eb99552c2f0a4a52fdaa5058 Mon Sep 17 00:00:00 2001 From: Sam Brenner <106700075+sabrenner@users.noreply.github.com> Date: Wed, 30 Oct 2024 20:49:40 -0400 Subject: [PATCH] fix(ci): revert typescript 5.0 for docs tests (#4846) --- docs/test.ts | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/docs/test.ts b/docs/test.ts index c2a198d7d9..6c3f54c259 100644 --- a/docs/test.ts +++ b/docs/test.ts @@ -570,19 +570,6 @@ llmobs.trace({ name: 'name', kind: 'llm' }, (span, cb) => { llmobs.wrap({ kind: 'llm' }, function myLLM () {})() llmobs.wrap({ kind: 'llm', name: 'myLLM', modelName: 'myModel', modelProvider: 'myProvider' }, function myFunction () {})() -// decorate a function -class MyClass { - @llmobs.decorate({ kind: 'llm' }) - myLLM () {} - - @llmobs.decorate({ kind: 'llm', name: 'myOtherLLM', modelName: 'myModel', modelProvider: 'myProvider' }) - myOtherLLM () {} -} - -const cls = new MyClass() -cls.myLLM() -cls.myOtherLLM() - // export a span llmobs.enable({ mlApp: 'myApp' }) llmobs.trace({ kind: 'llm', name: 'myLLM' }, (span) => {