Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Use types instead of interfaces #274

Merged
merged 6 commits into from
Nov 7, 2024
Merged

Conversation

jjtang1985
Copy link
Contributor

@jjtang1985 jjtang1985 commented Nov 7, 2024

Context

Due to some eslint rules, we used interfaces for some of the orchestration types by accident.
In order to keep the consistent UX, we will keep the original generated client.

Definition of Done

  • Code is tested (Unit, E2E)
  • (Optional) Release notes updated

@jjtang1985 jjtang1985 marked this pull request as ready for review November 7, 2024 14:50
@jjtang1985 jjtang1985 enabled auto-merge (squash) November 7, 2024 14:52
@@ -10,12 +10,12 @@ import type { LlmChoice } from './llm-choice.js';
/**
* Results of each module.
*/
export interface ModuleResults {
export type ModuleResults = {
grounding?: GenericModuleResult;
Copy link
Contributor

Choose a reason for hiding this comment

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

[req] We removed the grounding types from input, but this is still here

Copy link
Contributor

Choose a reason for hiding this comment

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

This would also need a compatibility note.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

  • removed the grounding key
  • added compatibility note

Copy link
Contributor

@deekshas8 deekshas8 left a comment

Choose a reason for hiding this comment

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

Already approving this (have disabled auto-merge). Please have a look into grounding in output.

@jjtang1985 jjtang1985 enabled auto-merge (squash) November 7, 2024 15:04
@jjtang1985 jjtang1985 merged commit 6fe32b8 into main Nov 7, 2024
9 checks passed
@jjtang1985 jjtang1985 deleted the update-orc-eslint-issue branch November 7, 2024 15:05
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.

2 participants