update readme
This commit is contained in:
20
main.py
20
main.py
@@ -1,17 +1,19 @@
|
||||
from dotenv import load_dotenv
|
||||
from src.index import CodexAgent, CodexAgentConfig
|
||||
|
||||
load_dotenv()
|
||||
|
||||
codex_agent = CodexAgent(CodexAgentConfig())
|
||||
|
||||
|
||||
def main():
|
||||
codex_agent.push_to_hub("darinkishore/codex-agent", with_code=True, commit_message="add thread id property")
|
||||
#result = codex_agent(message="What files are in this directory?")
|
||||
#print(result.answer) # String response
|
||||
#print(result.trace) # Execution items (commands, files, etc.)
|
||||
#print(result.usage) # Token counts
|
||||
codex_agent.push_to_hub(
|
||||
"darinkishore/codex-agent",
|
||||
with_code=True,
|
||||
commit_message="update readme",
|
||||
)
|
||||
# result = codex_agent(message="What files are in this directory?")
|
||||
# print(result.answer) # String response
|
||||
# print(result.trace) # Execution items (commands, files, etc.)
|
||||
# print(result.usage) # Token counts
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user