Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

release: 2.1.1 #106

Merged
merged 14 commits into from
Jul 13, 2024
Merged

release: 2.1.1 #106

merged 14 commits into from
Jul 13, 2024

Conversation

matildepark
Copy link
Contributor

Target this branch for instructor change!

Currently holding this PR for this annoying warn message during npx nolita runs (while running it as a node script, i.e. node ./dist/bin/index.js):

⠸ The current ariaTree does not contain information about the latest blog post. We need to navigate to the blog section to find this information.[Instructor:WARN] 2024-07-09T20:46:01.225Z: response model: GenerateActionStep - Validation issues:  Validation error: Array must contain at least 1 element(s) at "objectiveComplete.command"  - Attempt:  0  - Max attempts:  5

Related code:

https://github.com/instructor-ai/instructor-js/blob/1ff06f6fdad63988fafa2edddcab88ab572c9fcb/src/instructor.ts#L123-L124

https://github.com/instructor-ai/instructor-js/blob/1ff06f6fdad63988fafa2edddcab88ab572c9fcb/src/instructor.ts#L263-L271

@matildepark matildepark requested a review from AlephNotation July 9, 2024 20:53
@matildepark
Copy link
Contributor Author

This is just waiting on union typing stuff then.

@AlephNotation AlephNotation merged commit 3b07047 into dev Jul 13, 2024
3 checks passed
@AlephNotation AlephNotation deleted the mp/husky branch July 13, 2024 13:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants