mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 22:03:45 +00:00
Add examples path to system prompt
Agent can now find examples at the documented path for hooks, custom tools, and SDK usage.
This commit is contained in:
parent
4a37760f17
commit
d1465fa0ca
2 changed files with 9 additions and 2 deletions
|
|
@ -75,6 +75,11 @@ export function getDocsPath(): string {
|
|||
return resolve(join(getPackageDir(), "docs"));
|
||||
}
|
||||
|
||||
/** Get path to examples directory */
|
||||
export function getExamplesPath(): string {
|
||||
return resolve(join(getPackageDir(), "examples"));
|
||||
}
|
||||
|
||||
/** Get path to CHANGELOG.md */
|
||||
export function getChangelogPath(): string {
|
||||
return resolve(join(getPackageDir(), "CHANGELOG.md"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue