removed depreceated code, and logs
This commit is contained in:
3
agent.py
3
agent.py
@@ -47,10 +47,9 @@ async def parse_page(content: str, entry_type: str = "opportunity"):
|
||||
|
||||
# 1. Run the agent (which returns a string)
|
||||
print(f"Parsing {entry_type}...")
|
||||
print(content)
|
||||
# print(content)
|
||||
result = await agent.run(content)
|
||||
raw_text = result.output
|
||||
print(raw_text)
|
||||
|
||||
# 2. Clean the string
|
||||
# We remove the markdown decorators so json.loads doesn't crash
|
||||
|
||||
Reference in New Issue
Block a user