lionagi 0.2.6__tar.gz → 0.2.7__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (266) hide show
  1. {lionagi-0.2.6 → lionagi-0.2.7}/PKG-INFO +2 -2
  2. {lionagi-0.2.6 → lionagi-0.2.7}/README.md +1 -1
  3. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/collections/model.py +2 -0
  4. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/session/branch.py +9 -9
  5. lionagi-0.2.7/lionagi/version.py +1 -0
  6. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi.egg-info/PKG-INFO +2 -2
  7. lionagi-0.2.6/lionagi/version.py +0 -1
  8. {lionagi-0.2.6 → lionagi-0.2.7}/LICENSE +0 -0
  9. {lionagi-0.2.6 → lionagi-0.2.7}/README.rst +0 -0
  10. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/__init__.py +0 -0
  11. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/__init__.py +0 -0
  12. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/_setting/__init__.py +0 -0
  13. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/_setting/_setting.py +0 -0
  14. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/action/__init__.py +0 -0
  15. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/action/function_calling.py +0 -0
  16. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/action/manual.py +0 -0
  17. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/action/node.py +0 -0
  18. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/action/tool.py +0 -0
  19. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/action/tool_manager.py +0 -0
  20. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/agent/__init__.py +0 -0
  21. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/agent/base_agent.py +0 -0
  22. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/agent/eval/__init__.py +0 -0
  23. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/agent/eval/evaluator.py +0 -0
  24. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/agent/eval/vote.py +0 -0
  25. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/agent/learn/__init__.py +0 -0
  26. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/agent/learn/learner.py +0 -0
  27. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/agent/plan/__init__.py +0 -0
  28. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/agent/plan/plan.py +0 -0
  29. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/agent/plan/unit_template.py +0 -0
  30. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/collections/__init__.py +0 -0
  31. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/collections/_logger.py +0 -0
  32. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/collections/abc/__init__.py +0 -0
  33. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/collections/abc/component.py +0 -0
  34. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/collections/abc/concepts.py +0 -0
  35. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/collections/abc/exceptions.py +0 -0
  36. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/collections/abc/util.py +0 -0
  37. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/collections/exchange.py +0 -0
  38. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/collections/flow.py +0 -0
  39. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/collections/pile.py +0 -0
  40. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/collections/progression.py +0 -0
  41. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/collections/util.py +0 -0
  42. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/director/__init__.py +0 -0
  43. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/director/direct.py +0 -0
  44. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/director/director.py +0 -0
  45. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/engine/__init__.py +0 -0
  46. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/engine/branch_engine.py +0 -0
  47. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/engine/instruction_map_engine.py +0 -0
  48. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/engine/sandbox_.py +0 -0
  49. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/engine/script_engine.py +0 -0
  50. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/executor/__init__.py +0 -0
  51. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/executor/base_executor.py +0 -0
  52. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/executor/graph_executor.py +0 -0
  53. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/executor/neo4j_executor.py +0 -0
  54. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/generic/__init__.py +0 -0
  55. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/generic/edge.py +0 -0
  56. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/generic/edge_condition.py +0 -0
  57. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/generic/graph.py +0 -0
  58. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/generic/hyperedge.py +0 -0
  59. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/generic/node.py +0 -0
  60. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/generic/tree.py +0 -0
  61. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/generic/tree_node.py +0 -0
  62. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/mail/__init__.py +0 -0
  63. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/mail/mail.py +0 -0
  64. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/mail/mail_manager.py +0 -0
  65. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/mail/package.py +0 -0
  66. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/mail/start_mail.py +0 -0
  67. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/message/__init__.py +0 -0
  68. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/message/action_request.py +0 -0
  69. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/message/action_response.py +0 -0
  70. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/message/assistant_response.py +0 -0
  71. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/message/instruction.py +0 -0
  72. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/message/message.py +0 -0
  73. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/message/system.py +0 -0
  74. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/message/util.py +0 -0
  75. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/report/__init__.py +0 -0
  76. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/report/base.py +0 -0
  77. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/report/form.py +0 -0
  78. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/report/report.py +0 -0
  79. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/report/util.py +0 -0
  80. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/rule/__init__.py +0 -0
  81. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/rule/_default.py +0 -0
  82. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/rule/action.py +0 -0
  83. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/rule/base.py +0 -0
  84. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/rule/boolean.py +0 -0
  85. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/rule/choice.py +0 -0
  86. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/rule/mapping.py +0 -0
  87. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/rule/number.py +0 -0
  88. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/rule/rulebook.py +0 -0
  89. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/rule/string.py +0 -0
  90. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/rule/util.py +0 -0
  91. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/session/__init__.py +0 -0
  92. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/session/directive_mixin.py +0 -0
  93. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/session/session.py +0 -0
  94. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/structure/__init__.py +0 -0
  95. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/structure/chain.py +0 -0
  96. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/structure/forest.py +0 -0
  97. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/structure/graph.py +0 -0
  98. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/structure/tree.py +0 -0
  99. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/unit/__init__.py +0 -0
  100. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/unit/parallel_unit.py +0 -0
  101. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/unit/template/__init__.py +0 -0
  102. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/unit/template/action.py +0 -0
  103. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/unit/template/base.py +0 -0
  104. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/unit/template/plan.py +0 -0
  105. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/unit/template/predict.py +0 -0
  106. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/unit/template/score.py +0 -0
  107. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/unit/template/select.py +0 -0
  108. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/unit/unit.py +0 -0
  109. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/unit/unit_form.py +0 -0
  110. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/unit/unit_mixin.py +0 -0
  111. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/unit/util.py +0 -0
  112. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/validator/__init__.py +0 -0
  113. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/validator/validator.py +0 -0
  114. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/work/__init__.py +0 -0
  115. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/work/work.py +0 -0
  116. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/work/work_edge.py +0 -0
  117. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/work/work_function.py +0 -0
  118. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/work/work_function_node.py +0 -0
  119. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/work/work_queue.py +0 -0
  120. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/work/work_task.py +0 -0
  121. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/work/worker.py +0 -0
  122. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/work/worker_engine.py +0 -0
  123. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/core/work/worklog.py +0 -0
  124. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/experimental/__init__.py +0 -0
  125. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/experimental/compressor/__init__.py +0 -0
  126. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/experimental/compressor/base.py +0 -0
  127. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/experimental/compressor/llm_compressor.py +0 -0
  128. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/experimental/compressor/llm_summarizer.py +0 -0
  129. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/experimental/compressor/util.py +0 -0
  130. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/experimental/directive/__init__.py +0 -0
  131. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/experimental/directive/parser/__init__.py +0 -0
  132. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/experimental/directive/parser/base_parser.py +0 -0
  133. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/experimental/directive/template/__init__.py +0 -0
  134. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/experimental/directive/template/base_template.py +0 -0
  135. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/experimental/directive/template/schema.py +0 -0
  136. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/experimental/directive/tokenizer.py +0 -0
  137. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/experimental/evaluator/__init__.py +0 -0
  138. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/experimental/evaluator/ast_evaluator.py +0 -0
  139. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/experimental/evaluator/base_evaluator.py +0 -0
  140. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/experimental/knowledge/__init__.py +0 -0
  141. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/experimental/knowledge/base.py +0 -0
  142. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/experimental/knowledge/graph.py +0 -0
  143. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/experimental/memory/__init__.py +0 -0
  144. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/experimental/strategies/__init__.py +0 -0
  145. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/experimental/strategies/base.py +0 -0
  146. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/__init__.py +0 -0
  147. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/bridge/__init__.py +0 -0
  148. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/bridge/autogen_/__init__.py +0 -0
  149. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/bridge/autogen_/autogen_.py +0 -0
  150. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/bridge/langchain_/__init__.py +0 -0
  151. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/bridge/langchain_/documents.py +0 -0
  152. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/bridge/langchain_/langchain_bridge.py +0 -0
  153. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/bridge/llamaindex_/__init__.py +0 -0
  154. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/bridge/llamaindex_/index.py +0 -0
  155. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/bridge/llamaindex_/llama_index_bridge.py +0 -0
  156. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/bridge/llamaindex_/llama_pack.py +0 -0
  157. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/bridge/llamaindex_/node_parser.py +0 -0
  158. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/bridge/llamaindex_/reader.py +0 -0
  159. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/bridge/llamaindex_/textnode.py +0 -0
  160. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/bridge/pydantic_/__init__.py +0 -0
  161. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/bridge/pydantic_/pydantic_bridge.py +0 -0
  162. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/bridge/transformers_/__init__.py +0 -0
  163. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/bridge/transformers_/install_.py +0 -0
  164. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/chunker/__init__.py +0 -0
  165. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/chunker/chunk.py +0 -0
  166. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/config/__init__.py +0 -0
  167. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/config/mlx_configs.py +0 -0
  168. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/config/oai_configs.py +0 -0
  169. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/config/ollama_configs.py +0 -0
  170. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/config/openrouter_configs.py +0 -0
  171. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/loader/__init__.py +0 -0
  172. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/loader/load.py +0 -0
  173. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/loader/load_util.py +0 -0
  174. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/provider/__init__.py +0 -0
  175. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/provider/_mapping.py +0 -0
  176. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/provider/litellm.py +0 -0
  177. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/provider/mistralai.py +0 -0
  178. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/provider/mlx_service.py +0 -0
  179. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/provider/oai.py +0 -0
  180. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/provider/ollama.py +0 -0
  181. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/provider/openrouter.py +0 -0
  182. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/provider/services.py +0 -0
  183. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/provider/transformers.py +0 -0
  184. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/storage/__init__.py +0 -0
  185. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/storage/neo4j.py +0 -0
  186. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/storage/storage_util.py +0 -0
  187. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/storage/structure_excel.py +0 -0
  188. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/storage/to_csv.py +0 -0
  189. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/integrations/storage/to_excel.py +0 -0
  190. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/libs/__init__.py +0 -0
  191. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/libs/ln_api.py +0 -0
  192. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/libs/ln_async.py +0 -0
  193. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/libs/ln_context.py +0 -0
  194. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/libs/ln_convert.py +0 -0
  195. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/libs/ln_dataframe.py +0 -0
  196. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/libs/ln_func_call.py +0 -0
  197. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/libs/ln_image.py +0 -0
  198. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/libs/ln_knowledge_graph.py +0 -0
  199. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/libs/ln_nested.py +0 -0
  200. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/libs/ln_parse.py +0 -0
  201. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/libs/ln_queue.py +0 -0
  202. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/libs/ln_tokenize.py +0 -0
  203. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/libs/ln_validate.py +0 -0
  204. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/libs/special_tokens.py +0 -0
  205. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/libs/sys_util.py +0 -0
  206. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/lions/__init__.py +0 -0
  207. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/lions/coder/__init__.py +0 -0
  208. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/lions/coder/add_feature.py +0 -0
  209. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/lions/coder/base_prompts.py +0 -0
  210. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/lions/coder/code_form.py +0 -0
  211. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/lions/coder/coder.py +0 -0
  212. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/lions/coder/util.py +0 -0
  213. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/lions/researcher/__init__.py +0 -0
  214. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/lions/researcher/data_source/__init__.py +0 -0
  215. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/lions/researcher/data_source/finhub_.py +0 -0
  216. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/lions/researcher/data_source/google_.py +0 -0
  217. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/lions/researcher/data_source/wiki_.py +0 -0
  218. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/lions/researcher/data_source/yfinance_.py +0 -0
  219. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/__init__.py +0 -0
  220. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/api/__init__.py +0 -0
  221. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/api/aws/__init__.py +0 -0
  222. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/api/aws/conftest.py +0 -0
  223. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/api/aws/test_aws_s3.py +0 -0
  224. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/integrations/__init__.py +0 -0
  225. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/libs/__init__.py +0 -0
  226. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/libs/test_api.py +0 -0
  227. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/libs/test_convert.py +0 -0
  228. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/libs/test_field_validators.py +0 -0
  229. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/libs/test_func_call.py +0 -0
  230. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/libs/test_nested.py +0 -0
  231. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/libs/test_parse.py +0 -0
  232. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/libs/test_queue.py +0 -0
  233. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/libs/test_sys_util.py +0 -0
  234. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/__init__.py +0 -0
  235. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/collections/__init__.py +0 -0
  236. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/collections/test_component.py +0 -0
  237. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/collections/test_exchange.py +0 -0
  238. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/collections/test_flow.py +0 -0
  239. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/collections/test_pile.py +0 -0
  240. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/collections/test_progression.py +0 -0
  241. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/generic/__init__.py +0 -0
  242. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/generic/test_edge.py +0 -0
  243. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/generic/test_graph.py +0 -0
  244. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/generic/test_node.py +0 -0
  245. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/generic/test_structure.py +0 -0
  246. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/generic/test_tree_node.py +0 -0
  247. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/graph/__init__.py +0 -0
  248. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/graph/test_graph.py +0 -0
  249. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/graph/test_tree.py +0 -0
  250. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/mail/__init__.py +0 -0
  251. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/mail/test_mail.py +0 -0
  252. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/test_branch.py +0 -0
  253. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/test_form.py +0 -0
  254. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/test_report.py +0 -0
  255. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/test_structure/__init__.py +0 -0
  256. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/test_structure/test_base_structure.py +0 -0
  257. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/test_structure/test_graph.py +0 -0
  258. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/test_structure/test_tree.py +0 -0
  259. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi/tests/test_core/test_validator.py +0 -0
  260. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi.egg-info/SOURCES.txt +0 -0
  261. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi.egg-info/dependency_links.txt +0 -0
  262. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi.egg-info/requires.txt +0 -0
  263. {lionagi-0.2.6 → lionagi-0.2.7}/lionagi.egg-info/top_level.txt +0 -0
  264. {lionagi-0.2.6 → lionagi-0.2.7}/pyproject.toml +0 -0
  265. {lionagi-0.2.6 → lionagi-0.2.7}/setup.cfg +0 -0
  266. {lionagi-0.2.6 → lionagi-0.2.7}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lionagi
3
- Version: 0.2.6
3
+ Version: 0.2.7
4
4
  Summary: Towards automated general intelligence.
5
5
  Author: HaiyangLi
6
6
  Author-email: Haiyang Li <ocean@lionagi.ai>
@@ -237,7 +237,7 @@ Requires-Dist: boto3>=1.34.131
237
237
  ### an AGentic Intelligence Operating System
238
238
 
239
239
  ```
240
- pip install lionagi==0.2.5
240
+ pip install lionagi==0.2.6
241
241
  ```
242
242
 
243
243
  **Powerful Intelligent Workflow Automation**
@@ -8,7 +8,7 @@
8
8
  ### an AGentic Intelligence Operating System
9
9
 
10
10
  ```
11
- pip install lionagi==0.2.5
11
+ pip install lionagi==0.2.6
12
12
  ```
13
13
 
14
14
  **Powerful Intelligent Workflow Automation**
@@ -26,6 +26,8 @@ load_dotenv()
26
26
 
27
27
  _oai_price_map = {
28
28
  "gpt-4o": (5, 15),
29
+ "gpt-4o-2024-08-06": (2.5, 10),
30
+ "gpt-4o-mini": (0.15, 0.6),
29
31
  "gpt-4-turbo": (10, 30),
30
32
  "gpt-3.5-turbo": (0.5, 1.5),
31
33
  }
@@ -58,7 +58,7 @@ class Branch(Node, DirectiveMixin):
58
58
  messages: Pile = Field(None)
59
59
  progress: Progression = Field(None)
60
60
  tool_manager: ToolManager = Field(None)
61
- system: System = Field(None)
61
+ system: System | None = Field(None)
62
62
  user: str = Field(None)
63
63
  mailbox: Exchange[Mail] = Field(None)
64
64
  imodel: iModel = Field(None)
@@ -110,14 +110,14 @@ class Branch(Node, DirectiveMixin):
110
110
  system (System): The system message to set.
111
111
  sender (str, optional): The sender of the system message.
112
112
  """
113
- system = system or "You are a helpful assistant."
114
- if len(self.progress) == 0:
115
- self.add_message(system=system, sender=sender)
116
- else:
117
- _msg = System(system=system, sender=sender)
118
- _msg.recipient = self.ln_id
119
- self._remove_system()
120
- self.system = _msg
113
+ if system is not None:
114
+ if len(self.progress) == 0:
115
+ self.add_message(system=system, sender=sender)
116
+ else:
117
+ _msg = System(system=system, sender=sender)
118
+ _msg.recipient = self.ln_id
119
+ self._remove_system()
120
+ self.system = _msg
121
121
 
122
122
  def add_message(
123
123
  self,
@@ -0,0 +1 @@
1
+ __version__ = "0.2.7"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lionagi
3
- Version: 0.2.6
3
+ Version: 0.2.7
4
4
  Summary: Towards automated general intelligence.
5
5
  Author: HaiyangLi
6
6
  Author-email: Haiyang Li <ocean@lionagi.ai>
@@ -237,7 +237,7 @@ Requires-Dist: boto3>=1.34.131
237
237
  ### an AGentic Intelligence Operating System
238
238
 
239
239
  ```
240
- pip install lionagi==0.2.5
240
+ pip install lionagi==0.2.6
241
241
  ```
242
242
 
243
243
  **Powerful Intelligent Workflow Automation**
@@ -1 +0,0 @@
1
- __version__ = "0.2.6"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes