Skip to content

Commit bb55b2d

Browse files
authored
fixed workflow creation (#118)
* fixed workflow creation * fixed linting issues
1 parent af14b81 commit bb55b2d

File tree

8 files changed

+859
-100
lines changed

8 files changed

+859
-100
lines changed

workflows/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ Generate workflows **without LLM for step creation** - 10-100x faster, guarantee
1414
### 2. Create Your Own Workflow
1515
```python
1616
from workflow_use.healing.service import HealingService
17-
from langchain_anthropic import ChatAnthropic
17+
from browser_use.llm import ChatBrowserUse
1818

19-
llm = ChatAnthropic(model_name="claude-3-5-sonnet-20241022")
19+
llm = ChatBrowserUse(model_name="bu-latest")
2020
service = HealingService(llm=llm, use_deterministic_conversion=True)
2121

2222
workflow = await service.generate_workflow_from_prompt(

workflows/docs/DETERMINISTIC.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ Generate workflows **without LLM for step creation** - directly map browser acti
77
```python
88
import asyncio
99
from workflow_use.healing.service import HealingService
10-
from langchain_anthropic import ChatAnthropic
10+
from browser_use.llm import ChatBrowserUse
1111

1212
async def main():
13-
llm = ChatAnthropic(model_name="claude-3-5-sonnet-20241022")
13+
llm = ChatBrowserUse(model_name="bu-latest")
1414

1515
service = HealingService(llm=llm, use_deterministic_conversion=True)
1616

0 commit comments

Comments
 (0)