Merge branch 'master' into BUDI-9294/project-apps-crud
This commit is contained in:
commit
c3651d122d
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
|
||||
"version": "3.10.7",
|
||||
"version": "3.11.0",
|
||||
"npmClient": "yarn",
|
||||
"concurrency": 20,
|
||||
"command": {
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit f2cbe5aff7645eb9b0b4e864924a1e1171ad85bf
|
||||
Subproject commit 271b8677c3ea814395cd67a10137900ec3a34dc7
|
|
@ -664,7 +664,7 @@ if (descriptions.length) {
|
|||
parameters: { number: 0 },
|
||||
})
|
||||
|
||||
const rows = await client(tableName).select("*")
|
||||
const rows = await client(tableName).select("*").orderBy("id")
|
||||
expect(rows).toHaveLength(6)
|
||||
expect(rows[5].number).toEqual(0)
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ export async function run({
|
|||
|
||||
try {
|
||||
let response
|
||||
const llm = await ai.getLLM(inputs.model)
|
||||
const llm = await ai.getLLM({ model: inputs.model })
|
||||
response = llm
|
||||
? (await llm.prompt(inputs.prompt)).message
|
||||
: await legacyOpenAIPrompt(inputs)
|
||||
|
|
|
@ -95,6 +95,7 @@ export type AIColumnSchema =
|
|||
export interface LLMConfigOptions {
|
||||
model: string
|
||||
apiKey?: string
|
||||
maxTokens?: number
|
||||
}
|
||||
|
||||
export interface LLMProviderConfig extends LLMConfigOptions {
|
||||
|
|
Loading…
Reference in New Issue