You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 3, 2025. It is now read-only.
importasynciofromindex.agent.agentimportAgentfromindex.llm.providers.openaiimportOpenAIProviderimportosasyncdefmain():
# Initialize the LLM providerllm=OpenAIProvider(
model="gpt-4o",
)
...
Exception:
(invoicepilot312) (invoicepilot312)amnesia@Richards-MacBook-Pro ~/d/invoicepilot (amazon)> python lam.py
Traceback (most recent call last):
File "/Users/amnesia/dev/invoicepilot/lam.py", line 28, in <module>
asyncio.run(main())
File "/Users/amnesia/pyenv/versions/3.12.7/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/Users/amnesia/pyenv/versions/3.12.7/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/amnesia/pyenv/versions/3.12.7/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/Users/amnesia/dev/invoicepilot/lam.py", line 9, in main
llm = OpenAIProvider(
^^^^^^^^^^^^^^^
File "/Users/amnesia/pyenv/versions/invoicepilot312/lib/python3.12/site-packages/index/llm/providers/openai.py", line 10, in __init__
super().__init__(model=model, system_message=system_message)
TypeError: BaseLLMProvider.__init__() got an unexpected keyword argument 'system_message'