Skip to content

fix parsing bugs #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 10, 2024
Merged

fix parsing bugs #13

merged 2 commits into from
Aug 10, 2024

Conversation

g-linville
Copy link
Member

This fixes two parsing bugs:

  • Tools showing up without description: fixed by updating to the latest GPTScript Go module and adjusting the types, since the parser function returns a different type now.
  • Some tools not indexing: we were assuming that the default branch name was main on every repo. Now we check the default branch name.

Signed-off-by: Grant Linville <[email protected]>
@@ -10,7 +10,7 @@ RUN go build -o main .
FROM cosmtrek/air AS dev
WORKDIR /app
COPY . .
RUN go get github.com/cosmtrek/air
RUN go get github.com/air-verse/air
Copy link
Member Author

Choose a reason for hiding this comment

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

the air repo got moved here

Signed-off-by: Grant Linville <[email protected]>
@g-linville g-linville merged commit 72dff8c into gptscript-ai:main Aug 10, 2024
@g-linville g-linville deleted the bugfixes branch August 10, 2024 21:33
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.

1 participant