dank-ai 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1331 -66
- package/lib/project.js +2 -2
- package/package.json +1 -1
package/lib/project.js
CHANGED
|
@@ -189,7 +189,7 @@ class DankProject {
|
|
|
189
189
|
const isDevelopment = this.projectPath.includes('/dank') &&
|
|
190
190
|
fs.existsSync(path.join(this.projectPath, '../lib/index.js'));
|
|
191
191
|
|
|
192
|
-
const requirePath = isDevelopment ? '../lib/index.js' : 'dank';
|
|
192
|
+
const requirePath = isDevelopment ? '../lib/index.js' : 'dank-ai';
|
|
193
193
|
|
|
194
194
|
return `/**
|
|
195
195
|
* Dank Agent Configuration
|
|
@@ -415,7 +415,7 @@ module.exports = {
|
|
|
415
415
|
* You can create multiple agent files and import them in your config.
|
|
416
416
|
*/
|
|
417
417
|
|
|
418
|
-
const { createAgent } = require('dank');
|
|
418
|
+
const { createAgent } = require('dank-ai');
|
|
419
419
|
|
|
420
420
|
const exampleAgent = createAgent('example-agent')
|
|
421
421
|
.setLLM('openai', {
|