Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for multiple GOBL conversion libraries across various repos and updates related documentation and configuration.
- Introduces a list of available conversion repositories and updates the agent to handle them.
- Extends the GOBL docs and code tool descriptions to reference all conversion libraries.
- Updates configuration and README to reflect the new model version and list of supported repos.
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/expert/prompts/system_prompt.md | Simplified system prompt and added conversion libraries mention. |
| src/expert/prompts/gobl_docs_description.md | Adjusted GOBL docs tool description and added fallback note. |
| src/expert/prompts/gobl_code_description.md | Expanded code tool scope to multiple conversion repos. |
| src/expert/agent.py | Added AVAILABLE_REPOS, updated tool schema and response logic. |
| config.yaml | Changed model identifier to “gpt-4.1”. |
| README.md | Listed all supported GOBL conversion repositories. |
Comments suppressed due to low confidence (2)
src/expert/prompts/gobl_docs_description.md:8
- The same line about addons is duplicated twice (lines 8 and 9). Consider removing the duplicate to avoid confusion.
- Addons which provide additional extension definitions that augment the basic functionality of a GOBL document with the characteristics of a specific invoice format. We have one addon per invoice format.
src/expert/prompts/gobl_docs_description.md:21
- The fallback instruction points only to the
invopop/goblrepo, but the code now supports multiple conversion repositories. Update this line to reference the general code search tool across all available repos.
The GOBL docs might be incomplete of information, if something is not found here, use the `search_gobl_code` tool in the `invopop/gobl` repo.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.