Skip to content

Commit

Permalink
update demo contributor poetry.locks pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdai committed Feb 27, 2024
1 parent d1047f1 commit 6cc01b2
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 20 deletions.
8 changes: 4 additions & 4 deletions llama-index-networks/examples/demo/contributor-1/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ version = "0.1.0"
[tool.poetry.dependencies]
python = ">=3.8.1,<3.12"
llama-index = "^0.10.12"
llama-index-networks = {allow-prereleases = true, version = "^0.1.0a3"}
llama-index-networks = {allow-prereleases = true, version = "^0.1.0a9"}
8 changes: 4 additions & 4 deletions llama-index-networks/examples/demo/contributor-2/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ version = "0.1.0"
[tool.poetry.dependencies]
python = ">=3.8.1,<3.12"
llama-index = "^0.10.12"
llama-index-networks = {allow-prereleases = true, version = "^0.1.0a3"}
llama-index-networks = {allow-prereleases = true, version = "^0.1.0a9"}
8 changes: 4 additions & 4 deletions llama-index-networks/examples/demo/contributor-3/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ version = "0.1.0"
[tool.poetry.dependencies]
python = ">=3.8.1,<3.12"
llama-index = "^0.10.12"
llama-index-networks = {allow-prereleases = true, version = "^0.1.0a3"}
llama-index-networks = {allow-prereleases = true, version = "^0.1.0a9"}
llama-index-readers-wikipedia = "^0.1.3"
wikipedia = "^1.4.0"
6 changes: 3 additions & 3 deletions llama-index-networks/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions llama-index-networks/tests/contributor/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_contributor_client(mock_requests):
}
mock_requests.post.return_value = result_mock

settings = ContributorClientSettings(api_key="fake-key", api_url="fake-url")
settings = ContributorClientSettings(api_url="fake-url")
client = ContributorClient(
config=settings, callback_manager=Settings.callback_manager
)
Expand All @@ -31,7 +31,7 @@ def test_contributor_client(mock_requests):
mock_requests.post.assert_called_once()
args, kwargs = mock_requests.post.call_args
assert kwargs == {
"json": {"query": "Does this work?", "api_key": "fake-key"},
"json": {"query": "Does this work?", "api_key": None},
"headers": {},
}
assert args[0] == "fake-url/api/query"
Expand Down

0 comments on commit 6cc01b2

Please sign in to comment.