Skip to content

Fix https://github.com/ai-forever/gpt2giga/issues/54 #55

Merged
krakenalt merged 1 commit intoai-forever:release/pre-release-0.1.0from
AlexandrRSU:fix-_process_function_call
Jan 22, 2026
Merged

Fix https://github.com/ai-forever/gpt2giga/issues/54 #55
krakenalt merged 1 commit intoai-forever:release/pre-release-0.1.0from
AlexandrRSU:fix-_process_function_call

Conversation

@AlexandrRSU
Copy link
Contributor

No description provided.

@krakenalt krakenalt changed the base branch from main to release/pre-release-0.1.0 January 22, 2026 08:00
@krakenalt
Copy link
Collaborator

Спасибо за PR!

@krakenalt krakenalt merged commit de54294 into ai-forever:release/pre-release-0.1.0 Jan 22, 2026
5 of 6 checks passed
krakenalt added a commit that referenced this pull request Jan 22, 2026
* feat: add structured output support via function calling (#49)

* feat: add structured output support via function calling

GigaChat API does not support response_format: json_schema natively.
This emulates structured output by converting json_schema to virtual
function call and transforming the response back to content.

* fix: remove unused pytest import

* style: format code with black

* chore: remove uv.lock

* fix: pass response_format explicitly to avoid race condition

* style: format with black

---------

Co-authored-by: Sergey Muravsky <s.muravsky@gigab2b.ru>

* feature:up tiktoken, wheel now available for 3.14

* bugfix: create a new gigachat instance if pass_token=True (#51)

* refactor: up libraries, refctor tests

* Refactor/release0.1.0 (#53)

* refactor: up libraries, refctor tests

* refactor: optimize imports

* bugfix: string values

* Update coverage badge for release/pre-release-0.1.0

* chore: bump version

* chore: up README.md

* chore: up README.md

* chore: change to static method _apply_json_schema_as_function

* Update response_mapper.py (#55)

* chore: up gigachat version

* chore: up gigachat version

---------

Co-authored-by: 0717376 <103773680+0717376@users.noreply.github.com>
Co-authored-by: Sergey Muravsky <s.muravsky@gigab2b.ru>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: AlexandrRSU <65045191+AlexandrRSU@users.noreply.github.com>
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