feat: hoppscotch-common & platform additions for ai experiments (#4222)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
This commit is contained in:
10
packages/hoppscotch-common/src/platform/experiments.ts
Normal file
10
packages/hoppscotch-common/src/platform/experiments.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import * as E from "fp-ts/Either"
|
||||
|
||||
export type ExperimentsPlatformDef = {
|
||||
aiExperiments?: {
|
||||
enableAIExperiments: boolean
|
||||
generateRequestName: (
|
||||
requestInfo: string
|
||||
) => Promise<E.Either<string, string>>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user