Open
Conversation
Member
|
@abaez-pantheon do you have an example of case where the current code fails? |
Contributor
Author
|
@dgageot I do! Sorry for not referencing prior. 😅 So when doing a version: "5"
agents:
root:
name: root
model: pro-high
description: Designs the software changes. Analyzes the user's request, understands the existing codebase, and creates a plan for the developer to implement. Uses the researcher to gather any necessary information.
toolsets:
- type: think
remote:
url: ""
api_config: {}
- type: filesystem
remote:
url: ""
api_config: {}
instruction: |
You are an architect agent responsible for gathering user requirements and creating a development plan.Notice the instruction multiline pipe string. The indention is lost and so an error on yaml parsing returns as if the line is not a string but a key with. And on execution: ❯ cagent run $SOME_OCI_REF
looking for version in config file
[27:5] non-map value is specified
24 | path: .memory/mem_root.db
25 | api_config: {}
26 | instruction: |
> 27 | You are an architect agent responsible for gathering user requirements and creating a development plan.
^ |
9581074 to
b511f04
Compare
b511f04 to
16e0109
Compare
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.
The following patch fixes a bug discovered on yaml marshaling when handling multiline input. Essentially, when pushing to an OCI artifact to an OCI complaint registry, the yaml for multiline indentation is removed. Causing issues with marshaling the yaml for usage.
Tested the change by working locally and sharing to an OCI registry for comparison.