mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-28 09:56:23 +02:00
Add support for other providers - litellm, openrouter
This commit is contained in:
parent
8c2c21a239
commit
14eee3e0c3
24 changed files with 398 additions and 95 deletions
|
|
@ -1,6 +1,8 @@
|
|||
import { WorkflowTemplate } from "./types/workflow_types";
|
||||
import { z } from 'zod';
|
||||
|
||||
const DEFAULT_MODEL = process.env.PROVIDER_DEFAULT_MODEL || "gpt-4.1";
|
||||
|
||||
export const templates: { [key: string]: z.infer<typeof WorkflowTemplate> } = {
|
||||
// Default template
|
||||
'default': {
|
||||
|
|
@ -37,7 +39,7 @@ You are an helpful customer support assistant
|
|||
|
||||
❌ Don'ts:
|
||||
- don't ask user any other detail than email`,
|
||||
model: "gpt-4o",
|
||||
model: DEFAULT_MODEL,
|
||||
toggleAble: true,
|
||||
ragReturnType: "chunks",
|
||||
ragK: 3,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue