mirror of
https://github.com/ArthurDanjou/artmcp.git
synced 2026-01-14 18:49:27 +01:00
Suppression des références à la section mathématiques dans la documentation et le code, mise à jour du profil d'Arthur Danjou avec des informations détaillées sur ses compétences et objectifs de carrière.
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
import { queryCollection } from '@nuxt/content/server'
|
||||
|
||||
export default defineCachedEventHandler(async (event) => {
|
||||
return await queryCollection(event, 'mathematics')
|
||||
.where('extension', '=', 'md')
|
||||
.first()
|
||||
}, {
|
||||
name: 'mathematics-list',
|
||||
maxAge: 3600 // 1 hour
|
||||
})
|
||||
@@ -237,25 +237,6 @@ function createServer() {
|
||||
}
|
||||
)
|
||||
|
||||
server.registerResource(
|
||||
'artmcp-mathematics',
|
||||
'resource://artmcp/mathematics',
|
||||
{
|
||||
title: 'Arthur Danjou - Mathematics',
|
||||
description: 'Get information about Arthur Danjou\'s background and knowledge in mathematics, including areas of expertise and academic achievements'
|
||||
},
|
||||
async (uri) => {
|
||||
const result = await $fetch('/api/mathematics')
|
||||
return {
|
||||
contents: [{
|
||||
uri: uri.href,
|
||||
mimeType: 'application/json',
|
||||
text: JSON.stringify(result, null, 2)
|
||||
}]
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
server.registerResource(
|
||||
'artmcp-profile',
|
||||
'resource://artmcp/profile',
|
||||
@@ -534,25 +515,6 @@ function createServer() {
|
||||
}
|
||||
)
|
||||
|
||||
server.registerPrompt(
|
||||
'artmcp-mathematics',
|
||||
{
|
||||
title: 'Get Mathematical Background Knowledge of Arthur Danjou',
|
||||
description: 'Get information about Arthur Danjou\'s background and knowledge in mathematics, including areas of expertise and academic achievements'
|
||||
},
|
||||
async () => {
|
||||
return {
|
||||
messages: [{
|
||||
role: 'user',
|
||||
content: {
|
||||
type: 'text',
|
||||
text: `Provide me information about Arthur Danjou's background and knowledge in mathematics, including areas of expertise and academic achievements.`
|
||||
}
|
||||
}]
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
server.registerPrompt(
|
||||
'artmcp-profile',
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user