Giter Club home page Giter Club logo

inworld-web-sdk's People

Contributors

bekmurzintimur avatar dependabot[bot] avatar disfractal avatar gugic avatar inworld-gh-svc-account avatar techdev5521 avatar tshashkova avatar uthark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

inworld-web-sdk's Issues

[BUG] Chat history cannot be restored

Version

2.4.1

What happened?

Chat history cannot be restored

What did you expect to happen?

Chat history can be restored

Steps to reproduce the problem

  1. Start a chat and send some messages
  2. Get SessionState - connection.getSessionState()
  3. End the chat and start another one with setSessionContinuation
  4. Chat history is not restored because the condition is never met:
inworld-ai/inworld-web-sdk/packages/web-core/src/services/connection.service.ts:348

if (this.connectionProps?.config?.history?.previousState) {

It's possible that this condition isn't related to this and I'm just misanalyzing something, but either way restoring dialogues or state doesn't work

What browsers are you seeing the problem on?

Chrome

[Bug]: Recorder starting goes too fast in example app.

Version

1.9.0

What happened?

Steps to reproduce the problem

Was getting the following error on occasion when clicking on the Record icon in the example app with promptness.:

DOMException: Failed to execute 'createAnswer' on 'RTCPeerConnection': PeerConnection cannot create an answer in a state other than have-remote-offer or have-local-pranswer.

What happened?

The error

DOMException: Failed to execute 'createAnswer' on 'RTCPeerConnection': PeerConnection cannot create an answer in a state other than have-remote-offer or have-local-pranswer.

I can just try to re-click the record icon or toggle on/off and it seems to get back into a good state.

What did you expect to happen?

Record voice enables.

Anything else we should know?

I thought this would fix but looks like it does not. I just got it to reproduce again.
drcrallen@1ab5948

With the above patch I got:

Failed starting audio:  DOMException: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: Called in wrong state: stable

What browsers are you seeing the problem on?

Chrome

Relevant log output

DOMException: Failed to execute 'createAnswer' on 'RTCPeerConnection': PeerConnection cannot create an answer in a state other than have-remote-offer or have-local-pranswer.

Uncaught (in promise) Error: Audio session is already started

Cannot use import statement outside a module

I get this error in a Sveltekit project:

import { InworldClient } from './clients/inworld.client.js';
^^^^^^
SyntaxError: Cannot use import statement outside a module

adding "type": "module" in your package.json solved the problem.

[Bug]: fetching version number from package.json with "require" throws an error

Version

1.9.2

What happened?

Steps to reproduce the problem

src/services/pb/world_engine.service.ts line 20
const { version } = require('../../../package.json');
fetching version number from package.json with require creates an error while building

What happened?

What did you expect to happen?

Anything else we should know?

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge

Relevant log output

No response

[Bug]: Example chat app's Skeleton component has an improper path.

Version

1.6.0

What happened?

The app would not start because it could not import the Skeleton component.

What did you expect to happen?

The app the start.

Steps to reproduce the problem

  1. Clone the repo.
  2. Install npm packages.
  3. Start the example chat app.

Anything else we should know?

I've submitted a PR to fix this issue.

What browsers are you seeing the problem on?

Chrome

Relevant log output

Failed to compile.

Module not found: Error: Cannot find file: 'Skeleton.tsx' does not match the corresponding name on disk: './src/app/components/skeleton/Skeleton'.
ERROR in ./src/app/components/innequin/Scene.tsx 10:0-48
Module not found: Error: Cannot find file: 'Skeleton.tsx' does not match the corresponding name on disk: './src/app/components/skeleton/Skeleton'.

ERROR in ./src/app/components/3dAvatar/InworldChar3D.tsx 11:0-48
Module not found: Error: Cannot find file: 'Skeleton.tsx' does not match the corresponding name on disk: './src/app/components/skeleton/Skeleton'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.