mirror of
https://github.com/ArthurDanjou/artapi.git
synced 2026-01-22 17:30: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:
@@ -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