Skip to content

Commit

Permalink
fix(agents): allow override granite bee prompts (#186)
Browse files Browse the repository at this point in the history
Signed-off-by: MICHAEL DESMOND <[email protected]>
  • Loading branch information
michael-desmond authored Nov 19, 2024
1 parent 4c933c4 commit d7c4060
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/agents/granite/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ export class GraniteBeeAgent extends BeeAgent {
...input,
templates: {
...input.templates,
system: GraniteBeeSystemPrompt,
assistant: GraniteBeeAssistantPrompt,
system: input.templates?.system ?? GraniteBeeSystemPrompt,
assistant: input.templates?.assistant ?? GraniteBeeAssistantPrompt,
},
});
}
Expand Down

0 comments on commit d7c4060

Please sign in to comment.