[Solved β ] Running swe example fails
I am trying to run the SWE agent example. The only change I made was swapping gpt-4o out for gpt-3.5-turbo (to remain on free plan, I have confirmed gpt-3.5-turbo is available for API on free tier). However, I get this error:
However it seems to be tools have been selected, on line 18, of https://github.com/ComposioHQ/swe-js-template/blob/master/src/agents/swe.ts
apps: [
"filetool",
"fileedittool",
"shelltool"
],
GitHub
swe-js-template/src/agents/swe.ts at master Β· ComposioHQ/swe-js-tem...
Contribute to ComposioHQ/swe-js-template development by creating an account on GitHub.
5 Replies
conscious-sapphireOPβ’6mo ago
If I remove app.ts:36, I am able to run, but no patch is generated. It runs very quickly, so I am wondering if that line was critical.
Is there a different SWE agent example I should be using?
Same result (no patch generated) from changing value to "none"
national-goldβ’6mo ago
Hey @pager, it is recommended to use like
gpt-4o
, gpt-4-turbo
as that model which you are using, it doesn't even reach to composio in maximum cases.national-goldβ’6mo ago
Hey, which
line no. 36
of app.ts
, you are talking about π
I can see that line empty there...
conscious-sapphireOPβ’6mo ago
Sorry, meant line 32
Oh, understood, thank you
national-goldβ’6mo ago
Cool, lemme know if you need any other help @pager, would love to help you out π