Skip to content

Commit d622521

Browse files
committed
refactor: rename tool from getPromptContent to getGuide
- Rename tool name to be more user-friendly and intuitive - Update file name from getPromptContent.ts to getGuide.ts - Clean up tool description by removing redundant text - Update section header from 'Available Prompts' to 'Available Guides'
1 parent c038dff commit d622521

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ export const getPromptContentFactory: ApiFactory<
4848
typeof inputSchema,
4949
typeof outputSchema
5050
> = ({ pgPool }) => ({
51-
name: 'getPromptContent',
51+
name: 'getGuide',
5252
config: {
53-
title: 'Get TimescaleDB Prompt Content',
54-
description: `Retrieve detailed prompt content for TimescaleDB guidance and best practices. This tool provides access to comprehensive guides that help with TimescaleDB implementation.
53+
title: 'Get TimescaleDB Guide',
54+
description: `Retrieve detailed TimescaleDB guides and best practices.
5555
56-
Available Prompts:
56+
Available Guides:
5757
5858
${availablePrompts.map(p => `**${p.name}** - ${p.description}`).join('\n\n')}
5959
`,

src/apis/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { semanticSearchPostgresDocsFactory } from './semanticSearchPostgresDocs.js';
22
import { semanticSearchTimescaleDocsFactory } from './semanticSearchTimescaleDocs.js';
3-
import { getPromptContentFactory } from './getPromptContent.js';
3+
import { getPromptContentFactory } from './getGuide.js';
44

55
export const apiFactories = [
66
semanticSearchPostgresDocsFactory,

src/shared/boilerplate

0 commit comments

Comments
 (0)