Skip to content

A couple of small fixes for the 7.1 beta - #302

Merged
kayhantolga merged 4 commits into
betalgo:devfrom
rzubek:master
Jun 22, 2023
Merged

kayhantolga merged 4 commits into
betalgo:devfrom
rzubek:master

Conversation

@rzubek

@rzubek rzubek commented Jun 18, 2023

Copy link
Copy Markdown
Contributor
  • One JSON name annotation was missing
  • Small fix for streamed argument string reconstruction: it assumed that the first arguments chunk was going to be an empty string, which has been empirically true so far, but might not be in the future.

kayhantolga and others added 4 commits June 18, 2023 16:47
… and we only perform appending on subsequent blocks.

The prior version (without this change) risked doubling up the first argument string. It doesn't happened in practice, because ChatGPT's first streaming message has an empty arguments string (i.e. `"arguments": ""`), so doubling up an empty string had no effect. But let's fix this just in case their implementation changes.
@kayhantolga
kayhantolga merged commit 987089e into betalgo:dev Jun 22, 2023
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