kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
build: update import paths
rodzic
979c129b8e
commit
64b0048738
|
@ -1,10 +1,11 @@
|
|||
import * as types from './types'
|
||||
import { defaultOpenAIModel } from './constants'
|
||||
import * as types from '@/types'
|
||||
import { defaultOpenAIModel } from '@/constants'
|
||||
import { OpenAIChatModel } from '@/llms/openai'
|
||||
|
||||
import {
|
||||
HumanFeedbackMechanism,
|
||||
HumanFeedbackMechanismCLI
|
||||
} from './human-feedback'
|
||||
import { OpenAIChatModel } from './llms/openai'
|
||||
|
||||
export class Agentic {
|
||||
// _taskMap: WeakMap<string, BaseTask<any, any>>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { ZodRawShape, ZodTypeAny } from 'zod'
|
||||
|
||||
import { Agentic } from './agentic'
|
||||
import { BaseTask } from './task'
|
||||
import { Agentic } from '@/agentic'
|
||||
import { BaseTask } from '@/task'
|
||||
|
||||
export type HumanFeedbackType = 'confirm' | 'selectOne' | 'selectN'
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { ZodRawShape, ZodTypeAny } from 'zod'
|
||||
|
||||
import * as types from './types'
|
||||
import { Agentic } from './agentic'
|
||||
import * as types from '@/types'
|
||||
import { Agentic } from '@/agentic'
|
||||
|
||||
/**
|
||||
* A `Task` is a typed, async function call that may be non-deterministic.
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import { z } from 'zod'
|
||||
|
||||
import * as types from '../types'
|
||||
import { Agentic } from '../agentic'
|
||||
import { NovuClient } from '../services/novu'
|
||||
import { BaseTask } from '../task'
|
||||
import * as types from '@/types'
|
||||
import { Agentic } from '@/agentic'
|
||||
import { NovuClient } from '@/services/novu'
|
||||
import { BaseTask } from '@/task'
|
||||
|
||||
export const NovuNotificationToolInputSchema = z.object({
|
||||
name: z.string(),
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import test from 'ava'
|
||||
|
||||
import { NovuClient } from '../src/services/novu'
|
||||
import { NovuClient } from '@/services/novu'
|
||||
|
||||
import './_utils'
|
||||
|
||||
test('NovuClient.triggerEvent', async (t) => {
|
||||
|
|
Ładowanie…
Reference in New Issue