mirror of
https://github.com/ArthurDanjou/artmcp.git
synced 2026-01-14 20:39:25 +01:00
Suppression des références aux certifications dans la documentation, la configuration et les endpoints API.
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
import { queryCollection } from '@nuxt/content/server'
|
||||
|
||||
export default defineCachedEventHandler(async (event) => {
|
||||
return await queryCollection(event, 'certifications')
|
||||
.where('extension', '=', 'json')
|
||||
.first()
|
||||
}, {
|
||||
name: 'certifications-list',
|
||||
maxAge: 3600 // 1 hour
|
||||
})
|
||||
@@ -218,25 +218,6 @@ function createServer() {
|
||||
}
|
||||
)
|
||||
|
||||
server.registerResource(
|
||||
'artmcp-certifications',
|
||||
'resource://artmcp/certifications',
|
||||
{
|
||||
title: 'Arthur Danjou - Certifications',
|
||||
description: 'Get Certifications and achievements of Arthur Danjou'
|
||||
},
|
||||
async (uri) => {
|
||||
const result = await $fetch('/api/certifications')
|
||||
return {
|
||||
contents: [{
|
||||
uri: uri.href,
|
||||
mimeType: 'application/json',
|
||||
text: JSON.stringify(result, null, 2)
|
||||
}]
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
server.registerResource(
|
||||
'artmcp-profile',
|
||||
'resource://artmcp/profile',
|
||||
@@ -496,25 +477,6 @@ function createServer() {
|
||||
}
|
||||
)
|
||||
|
||||
server.registerPrompt(
|
||||
'artmcp-certifications',
|
||||
{
|
||||
title: 'Get Certifications of Arthur Danjou',
|
||||
description: 'Get Certifications and achievements of Arthur Danjou'
|
||||
},
|
||||
async () => {
|
||||
return {
|
||||
messages: [{
|
||||
role: 'user',
|
||||
content: {
|
||||
type: 'text',
|
||||
text: `What certifications and professional achievements does Arthur Danjou have?`
|
||||
}
|
||||
}]
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
server.registerPrompt(
|
||||
'artmcp-profile',
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user