Skip to content

Conversation

@RomneyDa
Copy link
Collaborator

Some morph updates

Incomplete, need openAI adapters

@RomneyDa RomneyDa requested a review from a team as a code owner May 30, 2025 22:38
@RomneyDa RomneyDa requested review from sestinj and removed request for a team May 30, 2025 22:38
@cubic-dev-ai
Copy link
Contributor

cubic-dev-ai bot commented May 30, 2025

Your cubic subscription is currently inactive. Please reactivate your subscription to receive AI reviews and use cubic.

@netlify
Copy link

netlify bot commented May 30, 2025

Deploy Preview for continuedev ready!

Name Link
🔨 Latest commit 6b068c8
🔍 Latest deploy log https://app.netlify.com/projects/continuedev/deploys/683a33623bb22400085c94ff
😎 Deploy Preview https://deploy-preview-5918--continuedev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label May 30, 2025
@RomneyDa RomneyDa marked this pull request as draft May 30, 2025 22:39
@recurseml
Copy link

recurseml bot commented Jun 13, 2025

⚠️ Only 5 files will be analyzed due to processing limits.

}

const data = (await resp.json()) as any;
const results = data.results.sort((a: any, b: any) => a.index - b.index);
Copy link

Choose a reason for hiding this comment

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

The code assumes data.results exists and is an array without validation. If the API response doesn't include a 'results' property or if it's not an array, this will cause a runtime error. Additionally, using 'any' type for sort parameters loses type safety. The code should validate the response structure and use proper typing.


React with 👍 to tell me that this comment was useful, or 👎 if not (and I'll stop posting more comments like this in the future)

import Cerebras from "./Cerebras";
import Cloudflare from "./Cloudflare";
import Cohere from "./Cohere";
import Morph from "./Morph"
Copy link

Choose a reason for hiding this comment

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

The code attempts to import a non-existent module './Morph'. The Morph.ts file does not exist in the core/llm/llms directory. This will cause a runtime error when the module tries to load, as Node.js/TypeScript will fail to resolve the import. The module must be created before it can be imported.


React with 👍 to tell me that this comment was useful, or 👎 if not (and I'll stop posting more comments like this in the future)

SiliconFlow,
Scaleway,
Relace,
Morph,
Copy link

Choose a reason for hiding this comment

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

Adding the non-existent Morph class to LLMClasses array will cause a runtime error. The Morph class is undefined since its module doesn't exist, and this will cause a runtime error when the array is used in llmFromDescription or llmFromProviderAndOptions functions. The Morph implementation must be created and properly implement the ILLM interface before being added to LLMClasses.


React with 👍 to tell me that this comment was useful, or 👎 if not (and I'll stop posting more comments like this in the future)

@recurseml
Copy link

recurseml bot commented Jun 13, 2025

😱 Found 3 issues. Time to roll up your sleeves! 😱

@RomneyDa RomneyDa closed this Jun 30, 2025
@github-project-automation github-project-automation bot moved this from Todo to Done in Issues and PRs Jun 30, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Jun 30, 2025
@sestinj sestinj deleted the dallin/morph branch October 17, 2025 22:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size:L This PR changes 100-499 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants