Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion edgee/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from urllib.request import Request, urlopen

# API Configuration
DEFAULT_BASE_URL = "https://api.edgee.ai"
DEFAULT_BASE_URL = "https://edgee.io"
API_ENDPOINT = "/v1/chat/completions"


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "edgee"
version = "1.0.4"
version = "1.0.5"
description = "Lightweight Python SDK for Edgee AI Gateway"
readme = "README.md"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_edgee.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def test_send_with_string_input(self, mock_urlopen):

# Verify the request
call_args = mock_urlopen.call_args[0][0]
assert call_args.full_url == "https://api.edgee.ai/v1/chat/completions"
assert call_args.full_url == "https://edgee.io/v1/chat/completions"
body = json.loads(call_args.data.decode("utf-8"))
assert body["model"] == "gpt-4"
assert body["messages"] == [{"role": "user", "content": "Hello"}]
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

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

Loading