Here "saw Solomon's wisdom" represents realizing that Solomon was very wise. AT: "When the queen of Sheba realized how wise Solomon was, and when she saw the palace that he had built" (See: [[rc://en/ta/man/translate/figs-metaphor]])
The author writes about Solomon having his workers build his palace as if he himself had built it. AT: "the palace that Solomon had his workers build" or "the palace that he had commanded his workers to build" (See: [[rc://en/ta/man/translate/figs-metonymy]])