@promptbook/openai 0.112.0-23 → 0.112.0-25

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.
Files changed (31) hide show
  1. package/esm/index.es.js +2 -1
  2. package/esm/index.es.js.map +1 -1
  3. package/esm/src/_packages/components.index.d.ts +2 -0
  4. package/esm/src/_packages/types.index.d.ts +2 -0
  5. package/esm/src/book-components/Chat/Chat/ChatMessageItem.d.ts +4 -0
  6. package/esm/src/book-components/Chat/Chat/ChatMessageItem.test.d.ts +2 -0
  7. package/esm/src/book-components/Chat/Chat/ChatMessageList.d.ts +4 -0
  8. package/esm/src/book-components/Chat/Chat/ChatProps.d.ts +14 -2
  9. package/esm/src/book-components/Chat/Chat/ChatRatingModal.d.ts +5 -0
  10. package/esm/src/book-components/Chat/SourceChip/SourceChip.d.ts +5 -1
  11. package/esm/src/book-components/Chat/hooks/useChatRatings.d.ts +5 -1
  12. package/esm/src/book-components/Chat/utils/createCitationFootnoteRenderModel.d.ts +53 -0
  13. package/esm/src/book-components/Chat/utils/createCitationFootnoteRenderModel.test.d.ts +1 -0
  14. package/esm/src/book-components/_common/MenuHoisting/MenuHoistingContext.d.ts +47 -0
  15. package/esm/src/version.d.ts +1 -1
  16. package/package.json +2 -2
  17. package/umd/index.umd.js +2 -1
  18. package/umd/index.umd.js.map +1 -1
  19. package/umd/src/_packages/components.index.d.ts +2 -0
  20. package/umd/src/_packages/types.index.d.ts +2 -0
  21. package/umd/src/book-components/Chat/Chat/ChatMessageItem.d.ts +4 -0
  22. package/umd/src/book-components/Chat/Chat/ChatMessageItem.test.d.ts +2 -0
  23. package/umd/src/book-components/Chat/Chat/ChatMessageList.d.ts +4 -0
  24. package/umd/src/book-components/Chat/Chat/ChatProps.d.ts +14 -2
  25. package/umd/src/book-components/Chat/Chat/ChatRatingModal.d.ts +5 -0
  26. package/umd/src/book-components/Chat/SourceChip/SourceChip.d.ts +5 -1
  27. package/umd/src/book-components/Chat/hooks/useChatRatings.d.ts +5 -1
  28. package/umd/src/book-components/Chat/utils/createCitationFootnoteRenderModel.d.ts +53 -0
  29. package/umd/src/book-components/Chat/utils/createCitationFootnoteRenderModel.test.d.ts +1 -0
  30. package/umd/src/book-components/_common/MenuHoisting/MenuHoistingContext.d.ts +47 -0
  31. package/umd/src/version.d.ts +1 -1
package/esm/index.es.js CHANGED
@@ -23,7 +23,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
23
23
  * @generated
24
24
  * @see https://github.com/webgptorg/promptbook
25
25
  */
26
- const PROMPTBOOK_ENGINE_VERSION = '0.112.0-23';
26
+ const PROMPTBOOK_ENGINE_VERSION = '0.112.0-25';
27
27
  /**
28
28
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
29
29
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -7439,6 +7439,7 @@ class OpenAiAgentKitExecutionTools extends OpenAiVectorStoreHandler {
7439
7439
  };
7440
7440
  const streamResult = await run(agentForRun, inputItems, {
7441
7441
  stream: true,
7442
+ maxTurns: 200,
7442
7443
  context: {
7443
7444
  parameters: prompt.parameters,
7444
7445
  onToolProgress: onProgress,