Skip to content

Commit

Permalink
Merge pull request #152 from yello-xyz/v0.25
Browse files Browse the repository at this point in the history
V0.25
  • Loading branch information
hverlind committed Feb 15, 2024
2 parents 2b0ffc3 + 9668443 commit 4482a6c
Show file tree
Hide file tree
Showing 235 changed files with 988 additions and 880 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## PlayFetch Changelog

### v0.25 - 2024-02-15
- Support for latest GPT-3.5 Turbo and GPT-4 Turbo Preview models (0125)
- Support for new OpenAI embedding models (text-embedding-3-small, text-embedding-3-large)
- Increased prompts per project limit from 100 to 250

### v0.24 - 2024-02-06
- Linear integration
- Support for Meta Llama 2 through Hugging Face
Expand Down
2 changes: 1 addition & 1 deletion __tests__/chainBranching.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
CanChainNodeIncludeContext,
MappableTargetInputsForChainNode,
SubtreeForChainNode,
} from '@/components/chains/chainNode'
} from '@/src/client/chains/chainNode'
import {
FirstBranchForBranchOfNode,
IsSiblingNode,
Expand Down
2 changes: 1 addition & 1 deletion __tests__/consumePartialRuns.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ConsumeStream } from '@/src/client/hooks/useRunVersion'
import { ConsumeStream } from '@/src/client/versions/useRunVersion'
import { PartialRun, PromptInputs } from '@/types'
import { ReadableStream } from 'stream/web'
import 'isomorphic-fetch'
Expand Down
2 changes: 1 addition & 1 deletion __tests__/extractVariables.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ExtractCodeInterrupts, ExtractPromptVariables, ExtractVariables } from '@/src/common/formatting'
import { ChainItemWithInputs, Prompts } from '@/types'
import { DefaultPromptConfig } from '@/src/common/defaults'
import { ExtractUnboundChainInputs } from '@/components/chains/chainItems'
import { ExtractUnboundChainInputs } from '@/src/client/chains/chainItems'

const testExtractVariables = (testDescription: string, expectedVariables: string[], content: string) =>
test(`Test ${testDescription}`, () => {
Expand Down
4 changes: 2 additions & 2 deletions __tests__/sanitizePopupLocation.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { GlobalPopupLocation } from '@/src/client/context/globalPopupContext'
import { SanitizePopupLocation } from '@/components/globalPopup'
import { GlobalPopupLocation } from '@/src/client/components/globalPopupContext'
import { SanitizePopupLocation } from '@/src/client/components/globalPopup'

test(`Test unmounted`, () =>
expect(SanitizePopupLocation({ left: 100, right: 100 })[0]).toStrictEqual({ left: 100, right: undefined }))
Expand Down
2 changes: 1 addition & 1 deletion __tests__/selectInputRows.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SelectInputRows } from '@/src/client/inputRows'
import { SelectInputRows } from '@/src/client/tables/inputRows'
import { InputValues, TestConfig } from '@/types'

test('No inputs yields single empty prompt input', () =>
Expand Down
2 changes: 1 addition & 1 deletion __tests__/tokenizeContent.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TokenizeContent } from '@/components/versions/versionComparison'
import { TokenizeContent } from '@/src/client/versions/versionComparison'

type Token = { state: '=' | '-' | '+'; content: string; tagged: boolean }

Expand Down
Loading

0 comments on commit 4482a6c

Please sign in to comment.