Skip to content

Commit 56e1524

Browse files
committed
feat(core): add CortexLuna configuration schema and export name
1 parent 64d0503 commit 56e1524

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

packages/core/src/index.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Context } from 'cordis'
1+
import { Context, Schema } from 'cordis'
22
import { CortexLunaService } from './services/cortex-luna-service.ts'
33

44
export * from './messages/index.ts'
@@ -18,3 +18,9 @@ export * from './vector-stores/index.ts'
1818
export function apply(ctx: Context) {
1919
ctx.plugin(CortexLunaService)
2020
}
21+
22+
export const name = 'cortexluna'
23+
24+
export interface Config {}
25+
26+
export const Config: Schema<Config> = Schema.object({})

packages/openai-compatible/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ export function apply(ctx: Context, config: Config) {
6868
})
6969
}
7070

71+
export const name = '@cortexluna/openai-compatible'
72+
7173
type FetchResponse = globalThis.Response
7274

7375
declare module '@cordisjs/plugin-http' {

0 commit comments

Comments
 (0)