You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As @dlqqq noted in #100, in the results of %ai list, it may be possible to use libraries like py-markdown-table to generate markdown tables declaratively, based on a data structure, instead of imperatively, as we currently do. Some of our logic is declared twice, once for text and once for markdown format.
Proposed Solution
Use py-markdown-table, or a similar library, to generate markdown for the model list.
Use markdown-style tables for text output.
Remove remaining helper functions that use different logic for text and markdown parts.
The text was updated successfully, but these errors were encountered:
dlqqq
changed the title
In text, display model list in markdown table format
Simplify code used to generate Markdown tables in magic commands
Feb 4, 2025
dlqqq
changed the title
Simplify code used to generate Markdown tables in magic commands
Simplify Markdown table generation in magic commands
Feb 4, 2025
Problem
As @dlqqq noted in #100, in the results of
%ai list
, it may be possible to use libraries like py-markdown-table to generate markdown tables declaratively, based on a data structure, instead of imperatively, as we currently do. Some of our logic is declared twice, once for text and once for markdown format.Proposed Solution
Use py-markdown-table, or a similar library, to generate markdown for the model list.
Use markdown-style tables for text output.
Remove remaining helper functions that use different logic for text and markdown parts.
The text was updated successfully, but these errors were encountered: