Enhance model configuration by adding modalities for input and output in OpenCodeToolCard and route.js. Introduce live model resolvers for Kiro in v1/models, allowing dynamic fetching of models based on provider credentials.
This commit is contained in:
1 parent
4a575f21a2
commit
18f87f43ca
4 files changed
+169
-153
No files matched your search
@@ -192,7 +192,7 @@ export default function OpenCodeToolCard({ tool, isExpanded, onToggle, baseUrl,
|
||||
|
||||
const modelsObj = {};
|
||||
modelsToShow.forEach(m => {
|
||||
modelsObj[m] = { name: m };
|
||||
modelsObj[m] = { name: m, modalities: { input: ["text", "image"], output: ["text"] } };
|
||||
});
|
||||
|
||||
return [{
|
||||
|
||||
Reference in new issue
Block a user