Skip to content

Commit

Permalink
Revert "fix: test sdk bump"
Browse files Browse the repository at this point in the history
This reverts commit ed0fa66.
  • Loading branch information
adubovik committed Mar 5, 2024
1 parent ed0fa66 commit 508357c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion aidial_adapter_vertexai/chat_completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ async def generate_response(usage: TokenUsage, choice_idx: int) -> None:
response.set_usage(usage.prompt_tokens, usage.completion_tokens)

if params.max_prompt_tokens is not None:
response.set_discarded_messages([])
response.set_discarded_messages(discarded_messages_count)
8 changes: 4 additions & 4 deletions poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repository = "https://github.com/epam/ai-dial-adapter-vertexai/"

[tool.poetry.dependencies]
python = "~3.11"
aidial-sdk = {version = "0.7.0", extras = ["telemetry"]}
aidial-sdk = {version = "0.6.2", extras = ["telemetry"]}
fastapi = "0.109.2"
google-cloud-aiplatform = "1.38.1"
google-auth = "2.21.0"
Expand Down

0 comments on commit 508357c

Please sign in to comment.