Skip to content

Conversation

@lnotspotl
Copy link
Member

@lnotspotl lnotspotl commented Apr 23, 2025

Purpose

Add zoo_helper-related features requested by the agent team.

This PR should only be merged after #1304

Copy link
Collaborator

@moratom moratom left a comment

Choose a reason for hiding this comment

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

Thanks, left a question but otherwise LGTM:)

Comment on lines +89 to +96
* @param progressFormat: Format to use for progress output (possible values: pretty, json, none), default is "none"
* @return std::string: Path to the model in cache
*/
std::string getModelFromZoo(const NNModelDescription& modelDescription,
bool useCached = true,
const std::string& cacheDirectory = "",
const std::string& apiKey = "");
const std::string& apiKey = "",
const std::string& progressFormat = "none");
Copy link
Collaborator

Choose a reason for hiding this comment

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

Any specific reason to not go with an enum here instead of a string?

Copy link
Member Author

Choose a reason for hiding this comment

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

True, will make it an enum. This was the quickest but at the same time dirtiest implementation :D

@lnotspotl lnotspotl merged commit 789b991 into v3_develop May 16, 2025
40 of 46 checks passed
@lnotspotl lnotspotl deleted the v3_zoo04 branch May 16, 2025 22:30
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.

3 participants