Skip to content

Commit acd51a9

Browse files
feat: ai instructions
1 parent 9d81b40 commit acd51a9

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"@emotion/react": "^11.13.3",
1414
"@emotion/styled": "^11.13.0",
15-
"@gremllm/nextjs": "0.4.0",
15+
"@gremllm/nextjs": "0.7.0",
1616
"@next/font": "14.2.15",
1717
"@opentelemetry/api": "^1.9.0",
1818
"@opentelemetry/auto-instrumentations-node": "^0.52.1",

pages/_document.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
import {Html, Head, Main, NextScript} from 'next/document'
2+
import { llmInstructions } from '@gremllm/nextjs/metadata';
23

34
export default function Document() {
45
return (
56
<Html lang="en">
6-
<Head/>
7+
<Head>
8+
<meta name="llm-instructions" content={llmInstructions} />
9+
</Head>
710
<body>
811
<Main/>
912
<NextScript/>
1013
</body>
1114
</Html>
1215
)
13-
}
16+
}

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -287,10 +287,10 @@
287287
resolved "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.1.tgz"
288288
integrity sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==
289289

290-
"@gremllm/nextjs@0.4.0":
291-
version "0.4.0"
292-
resolved "https://registry.yarnpkg.com/@gremllm/nextjs/-/nextjs-0.4.0.tgz#c86cb7961ab3d81ccbf79a862f959b8fd93376ee"
293-
integrity sha512-+JnF7wmUkcisV+YjX8+3te9AOvgl1z8TfJdObbagOY1znnUX0IWL6PGDkGicPpLabuZ1mt4/KRScPgYG8KhYQg==
290+
"@gremllm/nextjs@0.7.0":
291+
version "0.7.0"
292+
resolved "https://registry.yarnpkg.com/@gremllm/nextjs/-/nextjs-0.7.0.tgz#7c9ab9207244500e9c8c9fe217eef2be30ca2281"
293+
integrity sha512-k1tdtMnyDc5PNnPGcgGo7M2/5cP7ascjGxtGnX5BZ3lUSSV7xsoO3gu/iANhNqAd+B4tr+MdegS7kWnKJWNcIA==
294294
dependencies:
295295
koffi "^2.9.0"
296296

0 commit comments

Comments
 (0)