Skip to content
This repository was archived by the owner on Nov 11, 2025. It is now read-only.

Commit 42ecdc8

Browse files
authored
Fix second key error (#153)
- Fix index to resolve additional key error
1 parent ac8e480 commit 42ecdc8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# <img src="https://raw.githubusercontent.com/vsakkas/sydney.py/master/images/logo.svg" width="28px" /> Sydney.py
22

3-
[![Latest Release](https://img.shields.io/github/v/release/vsakkas/sydney.py.svg)](https://github.com/vsakkas/sydney.py/releases/tag/v0.20.2)
3+
[![Latest Release](https://img.shields.io/github/v/release/vsakkas/sydney.py.svg)](https://github.com/vsakkas/sydney.py/releases/tag/v0.20.3)
44
[![Python](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/)
55
[![MIT License](https://img.shields.io/badge/license-MIT-blue)](https://github.com/vsakkas/sydney.py/blob/master/LICENSE)
66

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "sydney-py"
3-
version = "0.20.2"
3+
version = "0.20.3"
44
description = "Python Client for Copilot (formerly named Bing Chat), also known as Sydney."
55
authors = ["vsakkas <[email protected]>"]
66
license = "MIT"

sydney/sydney.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ async def _ask(
420420
if messages[i]["adaptiveCards"][0]["body"][0].get("text"):
421421
yield messages[i]["adaptiveCards"][0]["body"][0]["text"], suggested_responses
422422
else:
423-
yield messages[i]["adaptiveCards"][0]["body"][0]["text"], suggested_responses
423+
yield messages[i]["adaptiveCards"][0]["body"][1]["text"], suggested_responses
424424
else:
425425
yield messages[i]["text"], suggested_responses
426426

0 commit comments

Comments
 (0)