lionagi 0.7.4__tar.gz → 0.7.5__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (252) hide show
  1. {lionagi-0.7.4 → lionagi-0.7.5}/PKG-INFO +1 -1
  2. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/ReAct/ReAct.py +1 -1
  3. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/brainstorm/brainstorm.py +9 -9
  4. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/plan/plan.py +4 -4
  5. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/strategies/concurrent.py +1 -1
  6. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/strategies/concurrent_sequential_chunk.py +1 -1
  7. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/strategies/sequential.py +1 -1
  8. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/strategies/sequential_chunk.py +1 -1
  9. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/strategies/sequential_concurrent_chunk.py +1 -1
  10. lionagi-0.7.5/lionagi/version.py +1 -0
  11. {lionagi-0.7.4 → lionagi-0.7.5}/pyproject.toml +1 -1
  12. lionagi-0.7.4/lionagi/version.py +0 -1
  13. {lionagi-0.7.4 → lionagi-0.7.5}/.env.example +0 -0
  14. {lionagi-0.7.4 → lionagi-0.7.5}/.github/FUNDING.yml +0 -0
  15. {lionagi-0.7.4 → lionagi-0.7.5}/.github/dependabot.yml +0 -0
  16. {lionagi-0.7.4 → lionagi-0.7.5}/.github/workflows/ci.yml +0 -0
  17. {lionagi-0.7.4 → lionagi-0.7.5}/.github/workflows/codeql.yml +0 -0
  18. {lionagi-0.7.4 → lionagi-0.7.5}/.github/workflows/docs.yml +0 -0
  19. {lionagi-0.7.4 → lionagi-0.7.5}/.github/workflows/release.yml +0 -0
  20. {lionagi-0.7.4 → lionagi-0.7.5}/.gitignore +0 -0
  21. {lionagi-0.7.4 → lionagi-0.7.5}/.pre-commit-config.yaml +0 -0
  22. {lionagi-0.7.4 → lionagi-0.7.5}/CODE_OF_CONDUCT.md +0 -0
  23. {lionagi-0.7.4 → lionagi-0.7.5}/CONTRIBUTING.md +0 -0
  24. {lionagi-0.7.4 → lionagi-0.7.5}/LICENSE +0 -0
  25. {lionagi-0.7.4 → lionagi-0.7.5}/README.md +0 -0
  26. {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch01_get_started.md +0 -0
  27. {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch02_concepts.md +0 -0
  28. {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch10_e2e_project.md +0 -0
  29. {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch11_performance.md +0 -0
  30. {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch12_graph.md +0 -0
  31. {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch3_internal_tools.md +0 -0
  32. {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch4_structured_forms.md +0 -0
  33. {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch5_react.md +0 -0
  34. {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch6_multi_branch.md +0 -0
  35. {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch7_multi_agent.md +0 -0
  36. {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch8_rate_limiting.md +0 -0
  37. {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch9_data_adapter.md +0 -0
  38. {lionagi-0.7.4 → lionagi-0.7.5}/dev_tools/count_code_base_lines.py +0 -0
  39. {lionagi-0.7.4 → lionagi-0.7.5}/docs/Makefile +0 -0
  40. {lionagi-0.7.4 → lionagi-0.7.5}/docs/_static/custom.css +0 -0
  41. {lionagi-0.7.4 → lionagi-0.7.5}/docs/_templates/layout.html +0 -0
  42. {lionagi-0.7.4 → lionagi-0.7.5}/docs/conf.py +0 -0
  43. {lionagi-0.7.4 → lionagi-0.7.5}/docs/index.rst +0 -0
  44. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/action.rst +0 -0
  45. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/adapter.rst +0 -0
  46. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/branch.rst +0 -0
  47. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/branch_operations.rst +0 -0
  48. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/concepts.rst +0 -0
  49. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/element_id.rst +0 -0
  50. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/event.rst +0 -0
  51. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/form.rst +0 -0
  52. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/graph.rst +0 -0
  53. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/index.rst +0 -0
  54. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/instruct.rst +0 -0
  55. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/lib_file.rst +0 -0
  56. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/lib_nested.rst +0 -0
  57. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/lib_package.rst +0 -0
  58. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/lib_schema.rst +0 -0
  59. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/lib_validate.rst +0 -0
  60. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/log.rst +0 -0
  61. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/mail.rst +0 -0
  62. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/message.rst +0 -0
  63. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/models.rst +0 -0
  64. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/operative_step.rst +0 -0
  65. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/pile.rst +0 -0
  66. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/processor.rst +0 -0
  67. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/progression.rst +0 -0
  68. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/service.rst +0 -0
  69. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/session.rst +0 -0
  70. {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/utils.rst +0 -0
  71. {lionagi-0.7.4 → lionagi-0.7.5}/docs/tutorials/get_started.rst +0 -0
  72. {lionagi-0.7.4 → lionagi-0.7.5}/docs/tutorials/get_started_pt2.rst +0 -0
  73. {lionagi-0.7.4 → lionagi-0.7.5}/docs/tutorials/get_started_pt3.rst +0 -0
  74. {lionagi-0.7.4 → lionagi-0.7.5}/docs/tutorials/index.rst +0 -0
  75. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/__init__.py +0 -0
  76. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/_class_registry.py +0 -0
  77. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/_errors.py +0 -0
  78. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/_types.py +0 -0
  79. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/__init__.py +0 -0
  80. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/file/__init__.py +0 -0
  81. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/file/chunk.py +0 -0
  82. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/file/file_ops.py +0 -0
  83. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/file/params.py +0 -0
  84. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/file/process.py +0 -0
  85. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/file/save.py +0 -0
  86. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/nested/__init__.py +0 -0
  87. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/nested/flatten.py +0 -0
  88. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/nested/nfilter.py +0 -0
  89. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/nested/nget.py +0 -0
  90. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/nested/ninsert.py +0 -0
  91. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/nested/nmerge.py +0 -0
  92. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/nested/npop.py +0 -0
  93. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/nested/nset.py +0 -0
  94. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/nested/unflatten.py +0 -0
  95. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/nested/utils.py +0 -0
  96. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/package/__init__.py +0 -0
  97. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/package/imports.py +0 -0
  98. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/package/management.py +0 -0
  99. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/package/params.py +0 -0
  100. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/package/system.py +0 -0
  101. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/parse.py +0 -0
  102. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/schema/__init__.py +0 -0
  103. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/schema/as_readable.py +0 -0
  104. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/schema/extract_code_block.py +0 -0
  105. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/schema/extract_docstring.py +0 -0
  106. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/schema/function_to_schema.py +0 -0
  107. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/schema/json_schema.py +0 -0
  108. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/token_transform/__init__.py +0 -0
  109. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/token_transform/llmlingua.py +0 -0
  110. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/token_transform/perplexity.py +0 -0
  111. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/token_transform/synthlang.py +0 -0
  112. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/validate/__init__.py +0 -0
  113. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/validate/common_field_validators.py +0 -0
  114. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/validate/fuzzy_match_keys.py +0 -0
  115. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/validate/fuzzy_validate_mapping.py +0 -0
  116. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/validate/string_similarity.py +0 -0
  117. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/validate/validate_boolean.py +0 -0
  118. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/ReAct/__init__.py +0 -0
  119. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/ReAct/utils.py +0 -0
  120. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/__init__.py +0 -0
  121. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/_act/__init__.py +0 -0
  122. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/_act/act.py +0 -0
  123. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/brainstorm/__init__.py +0 -0
  124. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/brainstorm/prompt.py +0 -0
  125. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/chat/__init__.py +0 -0
  126. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/chat/chat.py +0 -0
  127. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/communicate/__init__.py +0 -0
  128. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/communicate/communicate.py +0 -0
  129. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/instruct/__init__.py +0 -0
  130. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/instruct/instruct.py +0 -0
  131. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/interpret/__init__.py +0 -0
  132. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/interpret/interpret.py +0 -0
  133. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/operate/__init__.py +0 -0
  134. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/operate/operate.py +0 -0
  135. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/parse/__init__.py +0 -0
  136. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/parse/parse.py +0 -0
  137. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/plan/__init__.py +0 -0
  138. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/plan/prompt.py +0 -0
  139. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/select/__init__.py +0 -0
  140. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/select/select.py +0 -0
  141. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/select/utils.py +0 -0
  142. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/translate/__init__.py +0 -0
  143. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/translate/translate.py +0 -0
  144. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/types.py +0 -0
  145. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/utils.py +0 -0
  146. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/__init__.py +0 -0
  147. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/action/__init__.py +0 -0
  148. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/action/function_calling.py +0 -0
  149. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/action/manager.py +0 -0
  150. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/action/request_response_model.py +0 -0
  151. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/action/tool.py +0 -0
  152. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/action/utils.py +0 -0
  153. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/forms/__init__.py +0 -0
  154. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/forms/base.py +0 -0
  155. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/forms/form.py +0 -0
  156. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/forms/report.py +0 -0
  157. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/forms/utils.py +0 -0
  158. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/instruct/__init__.py +0 -0
  159. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/instruct/base.py +0 -0
  160. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/instruct/instruct.py +0 -0
  161. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/instruct/instruct_collection.py +0 -0
  162. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/instruct/node.py +0 -0
  163. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/instruct/prompts.py +0 -0
  164. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/instruct/reason.py +0 -0
  165. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/manager.py +0 -0
  166. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/models/__init__.py +0 -0
  167. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/models/field_model.py +0 -0
  168. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/models/model_params.py +0 -0
  169. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/models/note.py +0 -0
  170. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/models/operable_model.py +0 -0
  171. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/models/schema_model.py +0 -0
  172. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/operative.py +0 -0
  173. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/step.py +0 -0
  174. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/strategies/__init__.py +0 -0
  175. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/strategies/base.py +0 -0
  176. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/strategies/concurrent_chunk.py +0 -0
  177. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/strategies/params.py +0 -0
  178. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/strategies/utils.py +0 -0
  179. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/types.py +0 -0
  180. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/__init__.py +0 -0
  181. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/_concepts.py +0 -0
  182. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/adapters/__init__.py +0 -0
  183. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/adapters/adapter.py +0 -0
  184. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/adapters/json_adapter.py +0 -0
  185. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/adapters/pandas_/__init__.py +0 -0
  186. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/adapters/pandas_/csv_adapter.py +0 -0
  187. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/adapters/pandas_/excel_adapter.py +0 -0
  188. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/adapters/pandas_/pd_dataframe_adapter.py +0 -0
  189. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/adapters/pandas_/pd_series_adapter.py +0 -0
  190. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/adapters/types.py +0 -0
  191. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/generic/__init__.py +0 -0
  192. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/generic/element.py +0 -0
  193. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/generic/event.py +0 -0
  194. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/generic/log.py +0 -0
  195. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/generic/pile.py +0 -0
  196. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/generic/processor.py +0 -0
  197. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/generic/progression.py +0 -0
  198. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/graph/__init__.py +0 -0
  199. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/graph/edge.py +0 -0
  200. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/graph/graph.py +0 -0
  201. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/graph/node.py +0 -0
  202. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/mail/__init__.py +0 -0
  203. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/mail/exchange.py +0 -0
  204. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/mail/mail.py +0 -0
  205. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/mail/mailbox.py +0 -0
  206. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/mail/manager.py +0 -0
  207. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/mail/package.py +0 -0
  208. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/__init__.py +0 -0
  209. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/action_request.py +0 -0
  210. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/action_response.py +0 -0
  211. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/assistant_response.py +0 -0
  212. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/base.py +0 -0
  213. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/instruction.py +0 -0
  214. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/manager.py +0 -0
  215. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/message.py +0 -0
  216. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/system.py +0 -0
  217. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/templates/README.md +0 -0
  218. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/templates/action_request.jinja2 +0 -0
  219. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/templates/action_response.jinja2 +0 -0
  220. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/templates/assistant_response.jinja2 +0 -0
  221. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/templates/instruction_message.jinja2 +0 -0
  222. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/templates/system_message.jinja2 +0 -0
  223. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/templates/tool_schemas.jinja2 +0 -0
  224. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/types.py +0 -0
  225. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/__init__.py +0 -0
  226. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/endpoints/__init__.py +0 -0
  227. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/endpoints/base.py +0 -0
  228. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/endpoints/chat_completion.py +0 -0
  229. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/endpoints/match_endpoint.py +0 -0
  230. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/endpoints/rate_limited_processor.py +0 -0
  231. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/endpoints/token_calculator.py +0 -0
  232. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/imodel.py +0 -0
  233. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/manager.py +0 -0
  234. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/providers/__init__.py +0 -0
  235. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/providers/anthropic_/__init__.py +0 -0
  236. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/providers/anthropic_/messages.py +0 -0
  237. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/providers/groq_/__init__.py +0 -0
  238. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/providers/groq_/chat_completions.py +0 -0
  239. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/providers/openai_/__init__.py +0 -0
  240. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/providers/openai_/chat_completions.py +0 -0
  241. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/providers/openrouter_/__init__.py +0 -0
  242. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/providers/openrouter_/chat_completions.py +0 -0
  243. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/providers/perplexity_/__init__.py +0 -0
  244. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/providers/perplexity_/chat_completions.py +0 -0
  245. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/types.py +0 -0
  246. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/session/__init__.py +0 -0
  247. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/session/branch.py +0 -0
  248. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/session/session.py +0 -0
  249. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/settings.py +0 -0
  250. {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/utils.py +0 -0
  251. {lionagi-0.7.4 → lionagi-0.7.5}/prompts/doc_style.md +0 -0
  252. {lionagi-0.7.4 → lionagi-0.7.5}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lionagi
3
- Version: 0.7.4
3
+ Version: 0.7.5
4
4
  Summary: An Intelligence Operating System.
5
5
  Author-email: HaiyangLi <quantocean.li@gmail.com>
6
6
  License: Apache License
@@ -112,7 +112,7 @@ async def ReAct(
112
112
  if extensions:
113
113
  extensions -= 1
114
114
 
115
- # Step 3: Produce final answer by calling branch._instruct with an answer prompt
115
+ # Step 3: Produce final answer by calling branch.instruct with an answer prompt
116
116
  answer_prompt = ReActAnalysis.ANSWER_PROMPT.format(
117
117
  instruction=instruct_dict["instruction"]
118
118
  )
@@ -75,7 +75,7 @@ async def run_instruct(
75
75
  if verbose:
76
76
  snippet = (
77
77
  child_ins.guidance[:100] + "..."
78
- if len(child_ins.guidance) > 100
78
+ if len(child_ins.guidance or "") > 100
79
79
  else child_ins.guidance
80
80
  )
81
81
  print(f"\n-----Running instruction-----\n{snippet}")
@@ -181,7 +181,7 @@ async def brainstorm(
181
181
  if verbose:
182
182
  snippet = (
183
183
  ins_.guidance[:100] + "..."
184
- if len(ins_.guidance) > 100
184
+ if len(ins_.guidance or "") > 100
185
185
  else ins_.guidance
186
186
  )
187
187
  print(f"\n-----Running instruction-----\n{snippet}")
@@ -255,12 +255,12 @@ async def brainstorm(
255
255
  if verbose:
256
256
  snippet = (
257
257
  ins_.guidance[:100] + "..."
258
- if len(ins_.guidance) > 100
258
+ if len(ins_.guidance or "") > 100
259
259
  else ins_.guidance
260
260
  )
261
261
  print(f"\n-----Exploring Idea-----\n{snippet}")
262
262
  new_branch = session.split(branch)
263
- resp = await new_branch._instruct(
263
+ resp = await new_branch.instruct(
264
264
  ins_, **(explore_kwargs or {})
265
265
  )
266
266
  return InstructResponse(instruct=ins_, response=resp)
@@ -303,11 +303,11 @@ async def brainstorm(
303
303
  if verbose:
304
304
  snippet = (
305
305
  i.guidance[:100] + "..."
306
- if len(i.guidance) > 100
306
+ if len(i.guidance or "") > 100
307
307
  else i.guidance
308
308
  )
309
309
  print(f"\n-----Exploring Idea-----\n{snippet}")
310
- seq_res = await branch._instruct(
310
+ seq_res = await branch.instruct(
311
311
  i, **(explore_kwargs or {})
312
312
  )
313
313
  explore_results.append(
@@ -337,7 +337,7 @@ async def brainstorm(
337
337
 
338
338
  async def _explore(ins_: Instruct):
339
339
  child_branch = session.split(base_branch)
340
- child_resp = await child_branch._instruct(
340
+ child_resp = await child_branch.instruct(
341
341
  ins_, **(explore_kwargs or {})
342
342
  )
343
343
  return InstructResponse(
@@ -393,14 +393,14 @@ async def brainstorm(
393
393
  if verbose:
394
394
  snippet = (
395
395
  ins_.guidance[:100] + "..."
396
- if len(ins_.guidance) > 100
396
+ if len(ins_.guidance or "") > 100
397
397
  else ins_.guidance
398
398
  )
399
399
  print(
400
400
  f"\n-----Exploring Idea (sequential in chunk)-----\n{snippet}"
401
401
  )
402
402
 
403
- seq_resp = await local_branch._instruct(
403
+ seq_resp = await local_branch.instruct(
404
404
  ins_, **(explore_kwargs or {})
405
405
  )
406
406
  chunk_results.append(
@@ -249,7 +249,7 @@ async def plan(
249
249
  )
250
250
  print(f"Instruction: {snippet}")
251
251
 
252
- step_response = await execute_branch._instruct(
252
+ step_response = await execute_branch.instruct(
253
253
  plan_step, **(execution_kwargs or {})
254
254
  )
255
255
  seq_results.append(
@@ -277,7 +277,7 @@ async def plan(
277
277
  print(f"\n------ Executing step (concurrently) ------")
278
278
  print(f"Instruction: {snippet}")
279
279
  local_branch = session.split(execute_branch)
280
- resp = await local_branch._instruct(
280
+ resp = await local_branch.instruct(
281
281
  plan_step, **(execution_kwargs or {})
282
282
  )
283
283
  return InstructResponse(instruct=plan_step, response=resp)
@@ -309,7 +309,7 @@ async def plan(
309
309
 
310
310
  async def _execute(plan_step: Instruct):
311
311
  local_branch = session.split(execute_branch)
312
- resp = await local_branch._instruct(
312
+ resp = await local_branch.instruct(
313
313
  plan_step, **(execution_kwargs or {})
314
314
  )
315
315
  return InstructResponse(
@@ -355,7 +355,7 @@ async def plan(
355
355
  print(
356
356
  f"\n--- Executing step (sequential in chunk) ---\nInstruction: {snippet}"
357
357
  )
358
- resp = await local_branch._instruct(
358
+ resp = await local_branch.instruct(
359
359
  plan_step, **(execution_kwargs or {})
360
360
  )
361
361
  chunk_result.append(
@@ -25,7 +25,7 @@ class ConcurrentExecutor(StrategyExecutor):
25
25
  return await self.execute_instruct(ins_, b_, False, **kwargs)
26
26
 
27
27
  config = {**ins.model_dump(), **kwargs}
28
- res = await branch._instruct(**config)
28
+ res = await branch.instruct(**config)
29
29
  branch.msgs.logger.dump()
30
30
  instructs = (
31
31
  res.instruct_models if hasattr(res, "instruct_models") else []
@@ -68,7 +68,7 @@ class ConcurrentSequentialChunkExecutor(StrategyExecutor):
68
68
  else f"\n-----Executing Instruct {idx}-----\n{msg_}"
69
69
  )
70
70
 
71
- res = await self.branch._instruct(ins_, **self.params.execute_kwargs)
71
+ res = await self.branch.instruct(ins_, **self.params.execute_kwargs)
72
72
  return InstructResponse(instruct=ins_, response=res)
73
73
 
74
74
  async def _execute_chunk(
@@ -20,7 +20,7 @@ class SequentialExecutor(StrategyExecutor):
20
20
  for idx, item in enumerate(instructs, start=1):
21
21
  if self.params.verbose:
22
22
  print(f"\nExecuting step {idx}/{len(instructs)}")
23
- out = await self.execute_branch._instruct(
23
+ out = await self.execute_branch.instruct(
24
24
  item, **self.params.execute_kwargs
25
25
  )
26
26
  ress.append(InstructResponse(instruct=item, response=out))
@@ -60,7 +60,7 @@ class SequentialChunkExecutor(StrategyExecutor):
60
60
  else:
61
61
  print(f"\n-----Executing Instruct-----\n{msg_}")
62
62
 
63
- res = await self.branch._instruct(ins_, **self.params.execute_kwargs)
63
+ res = await self.branch.instruct(ins_, **self.params.execute_kwargs)
64
64
  return InstructResponse(instruct=ins_, response=res)
65
65
 
66
66
  async def _execute_chunk(
@@ -71,7 +71,7 @@ class SequentialConcurrentChunkExecutor(StrategyExecutor):
71
71
  )
72
72
 
73
73
  branch = self.session.split(self.branch)
74
- res = await branch._instruct(ins_, **self.params.execute_kwargs)
74
+ res = await branch.instruct(ins_, **self.params.execute_kwargs)
75
75
  return InstructResponse(instruct=ins_, response=res)
76
76
 
77
77
  async def _execute_chunk(
@@ -0,0 +1 @@
1
+ __version__ = "0.7.5"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "lionagi"
3
- version = "0.7.4"
3
+ version = "0.7.5"
4
4
  description = "An Intelligence Operating System."
5
5
  authors = [
6
6
  { name = "HaiyangLi", email = "quantocean.li@gmail.com" },
@@ -1 +0,0 @@
1
- __version__ = "0.7.4"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes