Skip to content

Conversation

MichalKalita
Copy link
Contributor

Fixes #264

It was a simple issue, type JSON is not allowed, it must be text.

@MichalKalita MichalKalita requested a review from MQ37 September 5, 2025 12:35
@github-actions github-actions bot added the t-ai Issues owned by the AI team. label Sep 5, 2025
Copy link
Contributor

@MQ37 MQ37 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Address the change and LGTM, thank you 👍

@MichalKalita MichalKalita merged commit 279293f into master Sep 8, 2025
4 checks passed
@MichalKalita MichalKalita deleted the fix/error-content-json branch September 8, 2025 10:05
MQ37 added a commit that referenced this pull request Sep 9, 2025
commit 20e6753
Author: Apify Release Bot <noreply@apify.com>
Date:   Tue Sep 9 11:41:31 2025 +0000

    chore(release): Update changelog, package.json and manifest.json versions [skip ci]

commit 7ef726d
Author: Jakub Kopecký <themq37@gmail.com>
Date:   Tue Sep 9 13:40:04 2025 +0200

    feat: improve actor tool output (#260)

    * feat: improve actor tool output

    * update readme

    * fix output tool, write test for that

    * add test based on Zuzka suggestion

    * lint

    * fix output response order so LLM does not lose the instructions

    * refactor: unify string list parsing logic

    * fix the tests - order of the Actor run response messages

    * Update src/utils/schema-generation.ts

    Co-authored-by: Michal Kalita <kalita.michal@gmail.com>

    * address review comments

    * add get-actor-output tools note about when its loaded

    ---------

    Co-authored-by: Michal Kalita <kalita.michal@gmail.com>

commit 279293f
Author: Michal Kalita <kalita.michal@gmail.com>
Date:   Mon Sep 8 12:05:25 2025 +0200

    fix: error when content type is json (#265)

    * fix: error when content type is json

    * fix: do not make json schema formatted for human readable

commit 4659e03
Author: Apify Release Bot <noreply@apify.com>
Date:   Thu Sep 4 12:30:50 2025 +0000

    chore(release): Update changelog, package.json and manifest.json versions [skip ci]
MQ37 added a commit that referenced this pull request Sep 9, 2025
commit 20e6753
Author: Apify Release Bot <noreply@apify.com>
Date:   Tue Sep 9 11:41:31 2025 +0000

    chore(release): Update changelog, package.json and manifest.json versions [skip ci]

commit 7ef726d
Author: Jakub Kopecký <themq37@gmail.com>
Date:   Tue Sep 9 13:40:04 2025 +0200

    feat: improve actor tool output (#260)

    * feat: improve actor tool output

    * update readme

    * fix output tool, write test for that

    * add test based on Zuzka suggestion

    * lint

    * fix output response order so LLM does not lose the instructions

    * refactor: unify string list parsing logic

    * fix the tests - order of the Actor run response messages

    * Update src/utils/schema-generation.ts

    Co-authored-by: Michal Kalita <kalita.michal@gmail.com>

    * address review comments

    * add get-actor-output tools note about when its loaded

    ---------

    Co-authored-by: Michal Kalita <kalita.michal@gmail.com>

commit 279293f
Author: Michal Kalita <kalita.michal@gmail.com>
Date:   Mon Sep 8 12:05:25 2025 +0200

    fix: error when content type is json (#265)

    * fix: error when content type is json

    * fix: do not make json schema formatted for human readable

commit 4659e03
Author: Apify Release Bot <noreply@apify.com>
Date:   Thu Sep 4 12:30:50 2025 +0000

    chore(release): Update changelog, package.json and manifest.json versions [skip ci]
MQ37 added a commit that referenced this pull request Sep 12, 2025
* feat: improve actor tool output

* update readme

* fix output tool, write test for that

* add test based on Zuzka suggestion

* lint

* fix output response order so LLM does not lose the instructions

* refactor: unify string list parsing logic

* fix the tests - order of the Actor run response messages

* Update src/utils/schema-generation.ts

Co-authored-by: Michal Kalita <kalita.michal@gmail.com>

* address review comments

* feat: agentci payments v2

* add skyfire usage resource, fix skyfire pay id handling and passing to Actor

* add skyfire instructions also to the call-actor info step result content

* Squashed commit of the following:

commit 20e6753
Author: Apify Release Bot <noreply@apify.com>
Date:   Tue Sep 9 11:41:31 2025 +0000

    chore(release): Update changelog, package.json and manifest.json versions [skip ci]

commit 7ef726d
Author: Jakub Kopecký <themq37@gmail.com>
Date:   Tue Sep 9 13:40:04 2025 +0200

    feat: improve actor tool output (#260)

    * feat: improve actor tool output

    * update readme

    * fix output tool, write test for that

    * add test based on Zuzka suggestion

    * lint

    * fix output response order so LLM does not lose the instructions

    * refactor: unify string list parsing logic

    * fix the tests - order of the Actor run response messages

    * Update src/utils/schema-generation.ts

    Co-authored-by: Michal Kalita <kalita.michal@gmail.com>

    * address review comments

    * add get-actor-output tools note about when its loaded

    ---------

    Co-authored-by: Michal Kalita <kalita.michal@gmail.com>

commit 279293f
Author: Michal Kalita <kalita.michal@gmail.com>
Date:   Mon Sep 8 12:05:25 2025 +0200

    fix: error when content type is json (#265)

    * fix: error when content type is json

    * fix: do not make json schema formatted for human readable

commit 4659e03
Author: Apify Release Bot <noreply@apify.com>
Date:   Thu Sep 4 12:30:50 2025 +0000

    chore(release): Update changelog, package.json and manifest.json versions [skip ci]

* fix the port already in use issue with tests

* lint

* remove the try catch that was rethrowing generic error in callActorGetDataset

* add skyfire seller id  and pay id to the get actor output

* lint

* rename env var

* include seller id conditionally in the instructions

* handle skyfire pay id in get actor output

* change usd amount

---------

Co-authored-by: Michal Kalita <kalita.michal@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-ai Issues owned by the AI team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error when Actorized MCP server responds with type 'json'

2 participants