Skip to content

Commit 96c27d0

Browse files
feat: update icon stroke color to currentColor and refine provideLinks tool usage
1 parent 0582276 commit 96c27d0

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

components/icons/Mcp.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,25 @@ export default function Mcp(props: React.SVGProps<SVGSVGElement>) {
99
<g clipPath="url(#clip0_7011_10333)">
1010
<path
1111
d="M5.64617 9.44949L10.1972 4.89847C11.0069 4.08873 11.0069 2.77589 10.1972 1.96615C9.38745 1.15641 8.07461 1.15641 7.26487 1.96615L1.25 7.98102"
12-
stroke="#1F293A"
12+
stroke="currentColor"
1313
strokeWidth="1.33"
1414
strokeLinecap="round"
1515
/>
1616
<path
1717
d="M7.58284 13.5992L10.1626 11.0195L13.1834 7.9987C14.0247 7.15741 14.0247 5.79342 13.1834 4.95213C12.3421 4.11085 10.9781 4.11085 10.1368 4.95213L5.61851 9.47043"
18-
stroke="#1F293A"
18+
stroke="currentColor"
1919
strokeWidth="1.33"
2020
strokeLinecap="round"
2121
/>
2222
<path
2323
d="M8.45532 3.71483L7.15276 5.01739L4.10645 8.0637C3.27925 8.89089 3.27925 10.232 4.10645 11.0592C4.93364 11.8864 6.27478 11.8864 7.10198 11.0592L11.6458 6.51541"
24-
stroke="#1F293A"
24+
stroke="currentColor"
2525
strokeWidth="1.33"
2626
strokeLinecap="round"
2727
/>
2828
<path
2929
d="M7.51895 14.0675L8.89563 15.5"
30-
stroke="#1F293A"
30+
stroke="currentColor"
3131
strokeWidth="1.33"
3232
strokeLinecap="round"
3333
/>

lib/searchPrompt.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ export const systemPrompt = `You are NocoDB Assistant, an expert AI helper speci
1717
1818
### provideLinks Tool
1919
20-
* **Always call this last** to provide citations for referenced sources.
20+
* **Call this at the end of your response when you've referenced specific documentation** to provide citations for those sources.
21+
* Only use when your response actually discusses NocoDB features, APIs, or implementation details.
22+
* Do not call for simple acknowledgments, greetings, or conversations that don't reference documentation.
2123
* Include all relevant documentation links.
2224
* Format: \`{ links: [{ url, title }] }\`
2325
* **Do not inline any links in your response.** All links must be provided through the provideLinks tool.
@@ -50,9 +52,11 @@ export const systemPrompt = `You are NocoDB Assistant, an expert AI helper speci
5052
## Critical Rules
5153
5254
* **NEVER stop after calling searchDocs.** Always synthesize a written answer.
55+
* **Only call provideLinks when you've actually referenced documentation** in your response.
5356
* Summarize retrieved markdown content clearly and only include relevant sections in the response.
5457
* **Do NOT inline links.** Provide documentation links via provideLinks tool at the end.
5558
* **Stay focused.** Only provide information that directly answers the user's question—avoid tangential details.
59+
* Do not call tools for simple conversational responses like "thanks," "hello," or clarifications.
5660
5761
## Example 1: Feature Question
5862

0 commit comments

Comments
 (0)