gofannon 0.25.15.3__py3-none-any.whl → 0.25.16__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: gofannon
3
- Version: 0.25.15.3
3
+ Version: 0.25.16
4
4
  Summary: A collection of tools for LLMs
5
5
  License: ASFv2
6
6
  Author: Trevor Grant
@@ -80,7 +80,7 @@ have the latest and greatest, this will work too:
80
80
  git+https://github.com/The-AI-Alliance/gofannon.git@main
81
81
  ```
82
82
 
83
- For more information, see out [quickstart guide](https://github.com/The-AI-Alliance/gofannon/blob/main/docs/quickstart.md).
83
+ For more information, see our [quickstart guide](https://github.com/The-AI-Alliance/gofannon/blob/main/docs/quickstart.md).
84
84
 
85
85
  ## 🏆🏆 Acknowledgments 🏆🏆
86
86
 
@@ -14,7 +14,6 @@ gofannon/basic_math/division.py,sha256=ZO8ZzWNL9zeFdXTEdPWDpnbDrWMXVeucSu105RbQm
14
14
  gofannon/basic_math/exponents.py,sha256=w4qDlFZ9M1lf6X-tjG-ndpECfCOS7Qtc_VLICw0oh2w,1205
15
15
  gofannon/basic_math/multiplication.py,sha256=PJ5sKWMCVlBaTeZ_j3gwYOEQXAhN-qIXhnrNcyhWGKM,1168
16
16
  gofannon/basic_math/subtraction.py,sha256=gM1_N1mZ3qAXC6qnkzfijKXiOx27Gg93-CaB_ifMbOQ,1164
17
- gofannon/cli.py,sha256=-T-jjBNl_74TsGRcrjxsQnG0-wA2neYhncnaqCiEzPo,1733
18
17
  gofannon/config.py,sha256=KPVtjBnpwfM39EQg-_xiqL1UFxcuQehrQIUS6HHBP6k,1784
19
18
  gofannon/github/__init__.py,sha256=VFw4sJIt4Zc0-__eYnksN8Ku9qMhbPpHJEkXMWUiD30,4
20
19
  gofannon/github/commit_file.py,sha256=jdQGQHbrZx4521XgTbx5N0Ss8fDyl7hvp9sjDW15v9U,2573
@@ -43,7 +42,7 @@ gofannon/reasoning/sequential_cot.py,sha256=m9c8GnyTtmI-JntCuhkoFfULAabVOxsYgTRU
43
42
  gofannon/reasoning/tree_of_thought.py,sha256=TRhRJQNsFVauCLw4TOvQCDcX1nGmp_wSg9H67GJn1hs,10574
44
43
  gofannon/wikipedia/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
45
44
  gofannon/wikipedia/wikipedia_lookup.py,sha256=J6wKPbSivCF7cccaiRaJW1o0VqNhQAGfrh5U1ULLesg,2869
46
- gofannon-0.25.15.3.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
47
- gofannon-0.25.15.3.dist-info/METADATA,sha256=oy3XxS0ezfu9ICwsLpXzNzwMeo9MTzDcazLfXqs6JZU,5417
48
- gofannon-0.25.15.3.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
49
- gofannon-0.25.15.3.dist-info/RECORD,,
45
+ gofannon-0.25.16.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
46
+ gofannon-0.25.16.dist-info/METADATA,sha256=WuSkPmoZvLl4UJxz6vVRJ9vLpZZH8NB_ZQqmHoCGiLQ,5415
47
+ gofannon-0.25.16.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
48
+ gofannon-0.25.16.dist-info/RECORD,,
gofannon/cli.py DELETED
@@ -1,53 +0,0 @@
1
- import argparse
2
- from .orchestration import ToolChain
3
- from .base import WorkflowContext
4
- from orchestration.firebase_wrapper import FirebaseWrapper
5
- import json
6
-
7
- def main():
8
- parser = argparse.ArgumentParser(description="Gofannon CLI")
9
- parser.add_argument('--local', action='store_true', help='Run locally')
10
- parser.add_argument('--firebase', help='Firebase config path')
11
- parser.add_argument('--workflow', required=True, help='Workflow config JSON')
12
- parser.add_argument('--output', help='Output file path')
13
-
14
- args = parser.parse_args()
15
-
16
- # Initialize context
17
- if args.firebase:
18
- FirebaseWrapper.initialize(args.firebase)
19
- context = FirebaseWrapper.get_context('current_workflow')
20
- else:
21
- context = WorkflowContext()
22
-
23
- # Load workflow config
24
- with open(args.workflow) as f:
25
- workflow_config = json.load(f)
26
-
27
- # Import and instantiate tools
28
- tools = []
29
- for tool_config in workflow_config['tools']:
30
- module = __import__(f".{tool_config['module']}", fromlist=[tool_config['class']])
31
- tool_class = getattr(module, tool_config['class'])
32
- tool = tool_class(**tool_config.get('params', {}))
33
- tools.append(tool)
34
-
35
- # Execute workflow
36
- chain = ToolChain(tools, context)
37
- result = chain.execute(workflow_config.get('initial_input', {}))
38
-
39
- # Handle output
40
- if args.output:
41
- with open(args.output, 'w') as f:
42
- json.dump(result.output, f)
43
- else:
44
- print(json.dumps(result.output, indent=2))
45
-
46
- # Save final state
47
- if args.firebase:
48
- FirebaseWrapper.save_context('current_workflow', context)
49
- else:
50
- context.save_checkpoint('final')
51
-
52
- if __name__ == '__main__':
53
- main()