Skip to content

Commit

Permalink
feat(prompt): export prompt scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
BroKun committed Apr 10, 2024
1 parent 008f133 commit 744d554
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/libro-prompt-cell/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ export * from './prompt-cell-contribution.js';
export * from './prompt-cell-model.js';
export * from './prompt-cell-protocol.js';
export * from './prompt-cell-view.js';
export * from './prompt-cell-script.js';
export * from './module.js';
4 changes: 2 additions & 2 deletions packages/libro-prompt-cell/src/prompt-cell-script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { singleton } from '@difizen/mana-app';

@singleton()
export class PromptScript {
public readonly getChatObjects = `from libro_ai import chat_object_manager
public readonly getChatObjects: string = `from libro_ai import chat_object_manager
chat_object_manager.dump_list_json()`;
public readonly getChatRecoreds = `from libro_ai import chat_record_provider
public readonly getChatRecoreds: string = `from libro_ai import chat_record_provider
chat_record_provider.get_records()`;
}

0 comments on commit 744d554

Please sign in to comment.