From 391679055d76a2b4e44162ca69903d5adc821d27 Mon Sep 17 00:00:00 2001 From: Cyberes Date: Wed, 10 Apr 2024 16:51:31 -0600 Subject: [PATCH] forgot to update requirements --- matrix_gpt/generate_clients/copilot.py | 4 ++++ requirements.txt | 1 + 2 files changed, 5 insertions(+) diff --git a/matrix_gpt/generate_clients/copilot.py b/matrix_gpt/generate_clients/copilot.py index 3901771..a8da0f9 100644 --- a/matrix_gpt/generate_clients/copilot.py +++ b/matrix_gpt/generate_clients/copilot.py @@ -8,6 +8,10 @@ from sydney import SydneyClient from matrix_gpt.generate_clients.api_client import ApiClient from matrix_gpt.generate_clients.command_info import CommandInfo +""" +This was written with sydney.py==0.20.4 but requirements.txt has not locked in a version because Bing's API may change. +""" + _REGEX_ATTR_RE_STR = r'^\[(\d*)]:\s(https?://(?:www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b[-a-zA-Z0-9()@:%_+.~#?&/=]*)\s*(\"\")*' _REGEX_ATTR_RE = re.compile(_REGEX_ATTR_RE_STR) _REGEX_ATTR_LINK_RE_STR = [r'\[\^\d*\^]\[', r']'] diff --git a/requirements.txt b/requirements.txt index 4bb22f6..c1a0d5f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,4 +3,5 @@ markdown==3.6 openai==1.16.2 anthropic==0.23.1 pillow==10.3.0 +sydney.py git+https://git.evulid.cc/cyberes/bison.git