mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-16 18:25:17 +02:00
fixed web search
This commit is contained in:
parent
ef378ba802
commit
3d4702c83e
2 changed files with 21 additions and 3 deletions
|
|
@ -11,7 +11,9 @@ export const WorkflowAgent = z.object({
|
|||
instructions: z.string(),
|
||||
examples: z.string().optional(),
|
||||
model: z.union([
|
||||
z.literal('gpt-4.1'),
|
||||
z.literal('gpt-4o'),
|
||||
z.literal('gpt-4.1-mini'),
|
||||
z.literal('gpt-4o-mini'),
|
||||
]),
|
||||
locked: z.boolean().default(false).describe('Whether this agent is locked and cannot be deleted').optional(),
|
||||
|
|
@ -124,7 +126,7 @@ export function sanitizeTextWithMentions(
|
|||
}
|
||||
return false;
|
||||
})
|
||||
|
||||
|
||||
// sanitize text
|
||||
for (const entity of entities) {
|
||||
const id = `${entity.type}:${entity.name}`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue