Skip to content

feat: initial release#1

Merged
roman-romanov-o merged 64 commits intodevelopmentfrom
feat/initial-release
Oct 14, 2024
Merged

feat: initial release#1
roman-romanov-o merged 64 commits intodevelopmentfrom
feat/initial-release

Conversation

@roman-romanov-o
Copy link
Copy Markdown

Include such apis:

  • Bucket API
  • File API
  • Chat completions API
  • Deployments API
  • Applications API (without create)

Comment thread pyproject.toml Outdated
Comment thread .github/CODEOWNERS Outdated
Comment thread pyproject.toml Outdated
Comment thread noxfile.py
Comment thread tests/test_auth.py
Comment thread noxfile.py Outdated
Comment thread noxfile.py Outdated
Comment thread aidial_client/_auth.py Outdated
Comment thread aidial_client/_auth.py Outdated
Comment thread aidial_client/_auth.py Outdated
Comment thread aidial_client/_auth.py
Comment thread aidial_client/_auth.py Outdated
Comment thread aidial_client/_constants.py Outdated
Comment thread aidial_client/_client.py Outdated
Comment thread aidial_client/_client.py Outdated
Comment thread aidial_client/_client.py Outdated
Comment thread aidial_client/_http_client/_base.py Outdated
Comment thread aidial_client/_client.py Outdated
Comment thread aidial_client/_client.py Outdated
Comment thread aidial_client/_client.py Outdated
Comment thread aidial_client/_client.py Outdated
Comment thread tests/test_client_retry.py Outdated
Comment thread noxfile.py Outdated
Comment thread aidial_client/_client.py Outdated
"""
dial_api_url = enforce_trailing_slash(dial_api_url)
if url.startswith("/"):
return InvalidDialURLError(f"Relative root url is forbidden: {url}")
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Root-relative URL is a more commonly used notion.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Copy link
Copy Markdown
Collaborator

@adubovik adubovik Oct 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opt: it would be great to capitalize URL in all the user-facing error messages and doc strings.

It's visible to a client, so the wording is typically more formal than the text of regular source code comments.
It also provides more clarity and readability - it's easier to parse URL on the first glace than url, because we are so used to see it elsewhere.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Comment thread aidial_client/helpers/storage_resource.py Outdated
Comment thread aidial_client/helpers/storage_resource.py
@roman-romanov-o roman-romanov-o merged commit 59b293b into development Oct 14, 2024
@adubovik adubovik deleted the feat/initial-release branch July 15, 2025 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants