Skip to content

Add conversion libraries to bot#7

Merged
pmenendz merged 6 commits intomainfrom
more-repos
Jul 11, 2025
Merged

Add conversion libraries to bot#7
pmenendz merged 6 commits intomainfrom
more-repos

Conversation

@pmenendz
Copy link
Copy Markdown
Collaborator

No description provided.

@pmenendz pmenendz requested a review from Copilot July 10, 2025 15:13
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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/gobl repo, 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.

Comment thread README.md Outdated
@pmenendz pmenendz merged commit 1b3e3f7 into main Jul 11, 2025
4 checks passed
@pmenendz pmenendz deleted the more-repos branch July 11, 2025 11:39
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