kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
feat: update toolConfigs.examples.name to be optional
rodzic
32e1d92a2a
commit
2b74b90b54
|
@ -463,7 +463,7 @@
|
|||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The display name of the example."
|
||||
"description": "The display name of the example. If not given, defaults to `Example 1`, `Example 2`, etc."
|
||||
},
|
||||
"prompt": {
|
||||
"type": "string",
|
||||
|
@ -488,7 +488,6 @@
|
|||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"prompt",
|
||||
"args"
|
||||
],
|
||||
|
|
|
@ -5,12 +5,5 @@ export default defineConfig({
|
|||
origin: {
|
||||
type: 'mcp',
|
||||
url: 'https://agentic-basic-mcp-test.onrender.com/mcp'
|
||||
},
|
||||
|
||||
toolConfigs: [
|
||||
{
|
||||
name: 'add',
|
||||
pure: true
|
||||
}
|
||||
]
|
||||
}
|
||||
})
|
||||
|
|
|
@ -705,8 +705,8 @@ export interface components {
|
|||
};
|
||||
/** @description Examples of how to use this tool. Used to generate example usage in the tool's docs. */
|
||||
examples?: {
|
||||
/** @description The display name of the example. */
|
||||
name: string;
|
||||
/** @description The display name of the example. If not given, defaults to `Example 1`, `Example 2`, etc. */
|
||||
name?: string;
|
||||
/** @description The input prompt for agents to use when running this example. */
|
||||
prompt: string;
|
||||
/** @description An optional system prompt for agents to use when running this example. Defaults to `You are a helpful assistant. Be as concise as possible.` */
|
||||
|
|
Ładowanie…
Reference in New Issue