Skip to content

Commit 5d45508

Browse files
authored
update dendrite_sdk to dendrite in pyproject and ci (#71)
* update dendrite_sdk to dendrite in pyproject and ci * add dendrite api key to env to ci * remove non working tests
1 parent d8c8f9e commit 5d45508

File tree

5 files changed

+94
-165
lines changed

5 files changed

+94
-165
lines changed

.github/workflows/ci.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,15 @@ jobs:
4141
- name: Linting with flake8
4242
run: |
4343
# stop the build if there are Python syntax errors or undefined names
44-
poetry run flake8 dendrite_sdk/ --count --select=E9,F63,F7,F82 --show-source --statistics
44+
poetry run flake8 dendrite/ --count --select=E9,F63,F7,F82 --show-source --statistics
4545
4646
- name: Linting with pylint
47-
run: poetry run pylint dendrite_sdk/ --errors-only
47+
run: poetry run pylint dendrite/ --errors-only
4848

4949
test:
5050
runs-on: ubuntu-latest
5151
env:
52+
DENDRITE_API_KEY: ${{secrets.DENDRITE_API_KEY}}
5253
BROWSERBASE_API_KEY: ${{ secrets.BROWSERBASE_API_KEY }}
5354
BROWSERBASE_PROJECT_ID: ${{ secrets.BROWSERBASE_PROJECT_ID }}
5455
steps:

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
With Dendrite, it's easy to create web interaction tools for your agent.
1818

1919
```python
20-
from dendrite_sdk import Dendrite
20+
from dendrite import Dendrite
2121

2222
def send_email():
2323
client = Dendrite(auth="outlook.live.com")
@@ -55,7 +55,7 @@ Initialize the Dendrite client and start doing web interactions without boilerpl
5555
[Get your API key here](https://dendrite.systems/app)
5656

5757
```python
58-
from dendrite_sdk import Dendrite
58+
from dendrite import Dendrite
5959

6060
client = Dendrite(dendrite_api_key="sk...")
6161

@@ -75,7 +75,7 @@ Now, let's have some fun. Earlier we showed you a simple send_email example. And
7575
First up, a tool that allows our AI agent to download our bank's monthly transactions so that they can be analyzed and compiled into a report that can be sent to stakeholders with `send_email`.
7676

7777
```python
78-
from dendrite_sdk import Dendrite
78+
from dendrite import Dendrite
7979

8080
def get_transactions() -> str:
8181
client = Dendrite(auth="mercury.com")
@@ -144,8 +144,8 @@ BROWSERBASE_PROJECT_ID=
144144
```
145145

146146
```python
147-
# from dendrite_sdk import Dendrite
148-
from dendrite_sdk import DendriteRemoteBrowser
147+
# from dendrite import Dendrite
148+
from dendrite import DendriteRemoteBrowser
149149

150150
...
151151

0 commit comments

Comments
 (0)